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

Kürzlich hochgeladen

How to Manage Cross-Selling in Odoo 17 Sales
How to Manage Cross-Selling in Odoo 17 SalesHow to Manage Cross-Selling in Odoo 17 Sales
How to Manage Cross-Selling in Odoo 17 SalesCeline George
 
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptxSandy Millin
 
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptxClinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptxraviapr7
 
How to Add Existing Field in One2Many Tree View in Odoo 17
How to Add Existing Field in One2Many Tree View in Odoo 17How to Add Existing Field in One2Many Tree View in Odoo 17
How to Add Existing Field in One2Many Tree View in Odoo 17Celine George
 
Quality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICEQuality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICESayali Powar
 
A gentle introduction to Artificial Intelligence
A gentle introduction to Artificial IntelligenceA gentle introduction to Artificial Intelligence
A gentle introduction to Artificial IntelligenceApostolos Syropoulos
 
How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17Celine George
 
In - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptxIn - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptxAditiChauhan701637
 
How to Create a Toggle Button in Odoo 17
How to Create a Toggle Button in Odoo 17How to Create a Toggle Button in Odoo 17
How to Create a Toggle Button in Odoo 17Celine George
 
How to Make a Field read-only in Odoo 17
How to Make a Field read-only in Odoo 17How to Make a Field read-only in Odoo 17
How to Make a Field read-only in Odoo 17Celine George
 
Prescribed medication order and communication skills.pptx
Prescribed medication order and communication skills.pptxPrescribed medication order and communication skills.pptx
Prescribed medication order and communication skills.pptxraviapr7
 
10 Topics For MBA Project Report [HR].pdf
10 Topics For MBA Project Report [HR].pdf10 Topics For MBA Project Report [HR].pdf
10 Topics For MBA Project Report [HR].pdfJayanti Pande
 
Ultra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxUltra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxDr. Asif Anas
 
Protein Structure - threading Protein modelling pptx
Protein Structure - threading Protein modelling pptxProtein Structure - threading Protein modelling pptx
Protein Structure - threading Protein modelling pptxvidhisharma994099
 
HED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdfHED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdfMohonDas
 
Slides CapTechTalks Webinar March 2024 Joshua Sinai.pptx
Slides CapTechTalks Webinar March 2024 Joshua Sinai.pptxSlides CapTechTalks Webinar March 2024 Joshua Sinai.pptx
Slides CapTechTalks Webinar March 2024 Joshua Sinai.pptxCapitolTechU
 
ARTICULAR DISC OF TEMPOROMANDIBULAR JOINT
ARTICULAR DISC OF TEMPOROMANDIBULAR JOINTARTICULAR DISC OF TEMPOROMANDIBULAR JOINT
ARTICULAR DISC OF TEMPOROMANDIBULAR JOINTDR. SNEHA NAIR
 
How to Add a New Field in Existing Kanban View in Odoo 17
How to Add a New Field in Existing Kanban View in Odoo 17How to Add a New Field in Existing Kanban View in Odoo 17
How to Add a New Field in Existing Kanban View in Odoo 17Celine George
 
Unveiling the Intricacies of Leishmania donovani: Structure, Life Cycle, Path...
Unveiling the Intricacies of Leishmania donovani: Structure, Life Cycle, Path...Unveiling the Intricacies of Leishmania donovani: Structure, Life Cycle, Path...
Unveiling the Intricacies of Leishmania donovani: Structure, Life Cycle, Path...Dr. Asif Anas
 
AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxAUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxiammrhaywood
 

Kürzlich hochgeladen (20)

How to Manage Cross-Selling in Odoo 17 Sales
How to Manage Cross-Selling in Odoo 17 SalesHow to Manage Cross-Selling in Odoo 17 Sales
How to Manage Cross-Selling in Odoo 17 Sales
 
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
 
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptxClinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptx
 
How to Add Existing Field in One2Many Tree View in Odoo 17
How to Add Existing Field in One2Many Tree View in Odoo 17How to Add Existing Field in One2Many Tree View in Odoo 17
How to Add Existing Field in One2Many Tree View in Odoo 17
 
Quality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICEQuality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICE
 
A gentle introduction to Artificial Intelligence
A gentle introduction to Artificial IntelligenceA gentle introduction to Artificial Intelligence
A gentle introduction to Artificial Intelligence
 
How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17
 
In - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptxIn - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptx
 
How to Create a Toggle Button in Odoo 17
How to Create a Toggle Button in Odoo 17How to Create a Toggle Button in Odoo 17
How to Create a Toggle Button in Odoo 17
 
How to Make a Field read-only in Odoo 17
How to Make a Field read-only in Odoo 17How to Make a Field read-only in Odoo 17
How to Make a Field read-only in Odoo 17
 
Prescribed medication order and communication skills.pptx
Prescribed medication order and communication skills.pptxPrescribed medication order and communication skills.pptx
Prescribed medication order and communication skills.pptx
 
10 Topics For MBA Project Report [HR].pdf
10 Topics For MBA Project Report [HR].pdf10 Topics For MBA Project Report [HR].pdf
10 Topics For MBA Project Report [HR].pdf
 
Ultra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxUltra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptx
 
Protein Structure - threading Protein modelling pptx
Protein Structure - threading Protein modelling pptxProtein Structure - threading Protein modelling pptx
Protein Structure - threading Protein modelling pptx
 
HED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdfHED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdf
 
Slides CapTechTalks Webinar March 2024 Joshua Sinai.pptx
Slides CapTechTalks Webinar March 2024 Joshua Sinai.pptxSlides CapTechTalks Webinar March 2024 Joshua Sinai.pptx
Slides CapTechTalks Webinar March 2024 Joshua Sinai.pptx
 
ARTICULAR DISC OF TEMPOROMANDIBULAR JOINT
ARTICULAR DISC OF TEMPOROMANDIBULAR JOINTARTICULAR DISC OF TEMPOROMANDIBULAR JOINT
ARTICULAR DISC OF TEMPOROMANDIBULAR JOINT
 
How to Add a New Field in Existing Kanban View in Odoo 17
How to Add a New Field in Existing Kanban View in Odoo 17How to Add a New Field in Existing Kanban View in Odoo 17
How to Add a New Field in Existing Kanban View in Odoo 17
 
Unveiling the Intricacies of Leishmania donovani: Structure, Life Cycle, Path...
Unveiling the Intricacies of Leishmania donovani: Structure, Life Cycle, Path...Unveiling the Intricacies of Leishmania donovani: Structure, Life Cycle, Path...
Unveiling the Intricacies of Leishmania donovani: Structure, Life Cycle, Path...
 
AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxAUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
 

Oracle plsql 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 |