SlideShare ist ein Scribd-Unternehmen logo
1 von 4
Downloaden Sie, um offline zu lesen
Payilagam Software Training Institute

Payilagam Software Training Institute,
No:4/67E, Sri Balaji’s Ishwarya,
Vijaya Nagar 3rd Cross Street, Velachery, Chennai – 600042.
044-22592370, 8344777333, 8883775533.
Mail : info@payilagam.com, Website : www.payilagam.com
PL/SQL Table of contents
1. Variables Information
PL/SQL Block Structure, Block Types, Types of Variables & Naming Rules Variable
Initialization and Keywords Scalar Data Types
%TYPE Attribute features
Boolean Variables and HANDLING Non-PL/SQL Variables DBMS_OUTPUT.PUT_LINE

2. Executable Statements
Data type Conversion Implicit / Explicit Nested Blocks and Variable Scope Operators in
PL/SQL

3. Interacting with the Oracle Server Retrieving Data in PL/SQL Naming
Conventions
Manipulating Data Using PL/SQL
Inserting Data, Updating Data, Deleting Data, Merging Rows
Implicit Cursor – Attributes – Tricks & usage

4. Control Structures
Controlling PL/SQL Flow of Execution IF-THEN-ELSE Statement Execution CASE
Expressions
Handling Nulls, Logic Tables, Boolean Conditions
LOOP Statements: Basic Loops, WHILE Loops, FOR Loops
Nested Loops and Labels
Goto Statement

Composite Variables
Composite Data Types: RECORDS AND COLLECTION Record Variable – features & Tricks
Collection: INDEX BY Tables, NESTED TABLE, VARRAY
%ROWTYPE Attribute advantage
1

Payilagam Software Training Institute | www.payilagam.com | 83 44 777 333 | 8883 77 55 33 |
Payilagam Software Training Institute
Methods: EXTEND, TRIM, EXISTS, COUNT, LIMIT, FIRST,
LAST, PRIOR, NEXT, DELETE
DML Process - Records & Collection – Advantages.

6. Explicit Cursors
Explicit Cursor Structure
Explicit Cursor Attributes – Tricks & usage.
Explicit Cursor with Scalar, Record & Collection Variable
Controlling Multiple Fetches
Cursor with Sub-query, Join-query, Aggregating Functions
Cursor FOR Loops
Cursor FOR Loops Using Sub-queries

7. Advanced Explicit Cursor Concepts
Cursors with Parameters
The FOR UPDATE Clause
The WHERE CURRENT OF Clause

8. Handling Exceptions
Handling Exceptions with PL/SQL Exception Types
Trapping Exceptions
Predefined Exceptions
Non-predefined Exceptions Functions for Trapping Exceptions Trapping User-Defined
Exceptions Propagating Exceptions RAISE_APPLICATION_ERROR

9. Procedures
Syntax for Creating Procedures
Formal versus Actual Parameters
Procedures with Parameters: IN, OUT, IN OUT
Methods for Passing Parameters, DEFAULT Option for Parameters
Invoking a Procedure from an Anonymous PL/SQL Block
Invoking a Procedure from another Procedure
Handled Exceptions
Unhandled Exceptions

10. Sub-programs
Declaring, Rules and invoking Subprograms
Benefits of Subprograms
Subprogram with parameter
2

Payilagam Software Training Institute | www.payilagam.com | 83 44 777 333 | 8883 77 55 33 |
Payilagam Software Training Institute

11. Functions
Syntax for Creating Functions Creating and Executing Function Invoking Functions in SQL
Expressions
Restrictions on Calling Functions from SQL Expressions and SQL Subprogram in Functions.
Invoking Functions in Procedure/ Function / Sub-programs

12. Dictionary table usages
USER_OBJECTS, USER_SOURCE, USER_ERRORS, SHOW
ERRORS USER_DEPENDENCIES

13. Packages
Components of a Package
Referencing Package Objects
Creating a Package Specification/Body
Public and Private Constructs
Invoking Package Constructs
Referencing a Public Variable from a Stand-alone Procedure
Advantages / Disadvantage of Packages
Sub-program in Packages

14. Advanced Package Concepts
Overloading:
Using Forward Declarations
Restrictions on Package Functions Used in SQL Variable Persistent State in Package
Cursor Persistent State in Package

15. Oracle Supplied Packages
Dynamic SQL Using EXECUTE IMMEDIATE UTL_FILE
Export & Import -TEXT file, CSV File, Tab Separated File, Pipe Separated File

16. Creating Database Triggers
Types of Triggers Database Trigger:
DML Trigger Components
Trigger Usage - Tricks

3

Payilagam Software Training Institute | www.payilagam.com | 83 44 777 333 | 8883 77 55 33 |
Payilagam Software Training Institute
17. Bulking in PL/SQL
Bulk Collect
Bulk Insert For all Bulk Collect Limit Comparing performance:
Record Variable, Collection Variable,
Collection Variable with Bulk collect
Collection Variable with Forall

18. General
Ref Cursor Usage
Parameter data type –Ref Cursor / Record variable tricks
PRAGMA AUTONOMOUS_TRANSACTION – feature

19. XML File Handling (CLOB / XML type)
XML File Generating
Generate XML script from table. Inserting XML Script into Table Copying CLOB filed to
another Table. Importing & Exporting XML Files

Warm Regards
Payilagam software training institute,
8344777333, 8883775533.
Mail: info@payilagam.com
Website: www.payilagam.com

4

Payilagam Software Training Institute | www.payilagam.com | 83 44 777 333 | 8883 77 55 33 |

Weitere ähnliche Inhalte

Empfohlen

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Empfohlen (20)

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 

Payilagam oracle plsql training syllabus

  • 1. Payilagam Software Training Institute Payilagam Software Training Institute, No:4/67E, Sri Balaji’s Ishwarya, Vijaya Nagar 3rd Cross Street, Velachery, Chennai – 600042. 044-22592370, 8344777333, 8883775533. Mail : info@payilagam.com, Website : www.payilagam.com PL/SQL Table of contents 1. Variables Information PL/SQL Block Structure, Block Types, Types of Variables & Naming Rules Variable Initialization and Keywords Scalar Data Types %TYPE Attribute features Boolean Variables and HANDLING Non-PL/SQL Variables DBMS_OUTPUT.PUT_LINE 2. Executable Statements Data type Conversion Implicit / Explicit Nested Blocks and Variable Scope Operators in PL/SQL 3. Interacting with the Oracle Server Retrieving Data in PL/SQL Naming Conventions Manipulating Data Using PL/SQL Inserting Data, Updating Data, Deleting Data, Merging Rows Implicit Cursor – Attributes – Tricks & usage 4. Control Structures Controlling PL/SQL Flow of Execution IF-THEN-ELSE Statement Execution CASE Expressions Handling Nulls, Logic Tables, Boolean Conditions LOOP Statements: Basic Loops, WHILE Loops, FOR Loops Nested Loops and Labels Goto Statement Composite Variables Composite Data Types: RECORDS AND COLLECTION Record Variable – features & Tricks Collection: INDEX BY Tables, NESTED TABLE, VARRAY %ROWTYPE Attribute advantage 1 Payilagam Software Training Institute | www.payilagam.com | 83 44 777 333 | 8883 77 55 33 |
  • 2. Payilagam Software Training Institute Methods: EXTEND, TRIM, EXISTS, COUNT, LIMIT, FIRST, LAST, PRIOR, NEXT, DELETE DML Process - Records & Collection – Advantages. 6. Explicit Cursors Explicit Cursor Structure Explicit Cursor Attributes – Tricks & usage. Explicit Cursor with Scalar, Record & Collection Variable Controlling Multiple Fetches Cursor with Sub-query, Join-query, Aggregating Functions Cursor FOR Loops Cursor FOR Loops Using Sub-queries 7. Advanced Explicit Cursor Concepts Cursors with Parameters The FOR UPDATE Clause The WHERE CURRENT OF Clause 8. Handling Exceptions Handling Exceptions with PL/SQL Exception Types Trapping Exceptions Predefined Exceptions Non-predefined Exceptions Functions for Trapping Exceptions Trapping User-Defined Exceptions Propagating Exceptions RAISE_APPLICATION_ERROR 9. Procedures Syntax for Creating Procedures Formal versus Actual Parameters Procedures with Parameters: IN, OUT, IN OUT Methods for Passing Parameters, DEFAULT Option for Parameters Invoking a Procedure from an Anonymous PL/SQL Block Invoking a Procedure from another Procedure Handled Exceptions Unhandled Exceptions 10. Sub-programs Declaring, Rules and invoking Subprograms Benefits of Subprograms Subprogram with parameter 2 Payilagam Software Training Institute | www.payilagam.com | 83 44 777 333 | 8883 77 55 33 |
  • 3. Payilagam Software Training Institute 11. Functions Syntax for Creating Functions Creating and Executing Function Invoking Functions in SQL Expressions Restrictions on Calling Functions from SQL Expressions and SQL Subprogram in Functions. Invoking Functions in Procedure/ Function / Sub-programs 12. Dictionary table usages USER_OBJECTS, USER_SOURCE, USER_ERRORS, SHOW ERRORS USER_DEPENDENCIES 13. Packages Components of a Package Referencing Package Objects Creating a Package Specification/Body Public and Private Constructs Invoking Package Constructs Referencing a Public Variable from a Stand-alone Procedure Advantages / Disadvantage of Packages Sub-program in Packages 14. Advanced Package Concepts Overloading: Using Forward Declarations Restrictions on Package Functions Used in SQL Variable Persistent State in Package Cursor Persistent State in Package 15. Oracle Supplied Packages Dynamic SQL Using EXECUTE IMMEDIATE UTL_FILE Export & Import -TEXT file, CSV File, Tab Separated File, Pipe Separated File 16. Creating Database Triggers Types of Triggers Database Trigger: DML Trigger Components Trigger Usage - Tricks 3 Payilagam Software Training Institute | www.payilagam.com | 83 44 777 333 | 8883 77 55 33 |
  • 4. Payilagam Software Training Institute 17. Bulking in PL/SQL Bulk Collect Bulk Insert For all Bulk Collect Limit Comparing performance: Record Variable, Collection Variable, Collection Variable with Bulk collect Collection Variable with Forall 18. General Ref Cursor Usage Parameter data type –Ref Cursor / Record variable tricks PRAGMA AUTONOMOUS_TRANSACTION – feature 19. XML File Handling (CLOB / XML type) XML File Generating Generate XML script from table. Inserting XML Script into Table Copying CLOB filed to another Table. Importing & Exporting XML Files Warm Regards Payilagam software training institute, 8344777333, 8883775533. Mail: info@payilagam.com Website: www.payilagam.com 4 Payilagam Software Training Institute | www.payilagam.com | 83 44 777 333 | 8883 77 55 33 |