SlideShare a Scribd company logo
1 of 4
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 |

More Related Content

Recently uploaded

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 

Recently uploaded (20)

ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 

Featured

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)
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
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...
 

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 |