Introduction to Oracle9i: PL/SQL Training

Course #:WA1277

Introduction to Oracle9i: PL/SQL Training

The Oracle PL/SQL language provides for programming logic features not contained within SQL. The grammar, syntax and benefits of using the PL/SQL language within an Oracle database environment are considered.




The Introduction to Oracle9i: SQL


The primary objective of this course is to provide an introduction to the PL/SQL database programming language. Major subject areas to be explored are:

  • Declaring variables and complex datatypes.
  • Developing logic within PL/SQL program blocks.
  • Fetching data from the database into program variables.
  • Returning program output to users.
  • Handling program exceptions.
  • Using explicit and implicit database cursors.
  • Using the advanced features of nested blocks and subprograms.


All Oracle professionals including developers, database administrators, designers and analysts.


Two days.

Outline of Introduction to Oracle9i: PL/SQL Training

  1. Language Features  

  • Why Use Pl/Sql?
  • Where Pl/Sql Program Units May Be Deployed
  • The Java Alternative To Pl/Sql
  • Structure Of A Pl/Sql Program Block
  • Pl/Sql From Interactive Tools
  • Generating Output

  2. Declare clause  

  • Datatypes
  • Declare Example
  • Special Datatypes
  • Type Variable
  • Rowtype Record
  • Type Table

  3. Begin clause  

  • Data Manipulation
  • Char And Varchar
  • Numeric
  • Date
  • Boolean
  • Comparison Operators
  • Functions
  • Date Calculations
  • Selectinto
  • Logic Control & Branching
  • Goto
  • Loop
  • If-Then-Else
  • Case

  4. Exception  

  • Handling Exception
  • Special Features
  • System Defined Exceptions
  • Using Sqlcode & Sqlerrm
  • Implicit Cursors
  • User-Defined Ex_Ined
  • Pragma Exception_Init

  5. Explicit cursors

  • Understanding Cursors
  • Explaining The Cursor Example
  • Declare Cursor E
  • Open Cursor Example
  • Fetch Cursor Example
  • Close Cursor Example
  • Including Cursor Parameters
  • Performing Updates From Cursors
  • Using Forloop Cursors

  6. Advanced  

  • Using Nested Blocks
  • Using Declared Subprograms
  • Display_Message() Procedure Example
  • Get_Spouse_Name() Function Example
We regularly offer classes in these and other cities. Atlanta, Austin, Baltimore, Calgary, Chicago, Cleveland, Dallas, Denver, Detroit, Houston, Jacksonville, Miami, Montreal, New York City, Orlando, Ottawa, Philadelphia, Phoenix, Pittsburgh, Seattle, Toronto, Vancouver, Washington DC.