Programming with PL/SQL 2 day training course from £590.00 plus VAT
|Classroom - per delegate||£695.00 plus VAT
£834.00 inc VAT
|In person at one of our UK locations, max 10 delegates|
|In Person one on one course||£1,190.00 plus VAT
£1,428.00 inc VAT
|In person at one of our UK locations, no other delegates - click here for details|
|Closed Courses||£1,900.00 plus VAT
£2,280.00 inc VAT
|In person at a location of your choosing, max 10 delegates (contact us for prices over 10 delegates) - click here for details|
|Remote live public course||£590.00 plus VAT
£708.00 inc VAT
|Remotely accessed over the internet, max 6 delegates - click here for details|
|Remote live one on one course||£790.00 plus VAT
£948.00 inc VAT
|Remotely accessed over the internet, no other delegates - click here for details|
This PL/SQL training course will give you an introduction to Oracle Corporation’s proprietary procedural extension to the SQL database language, PL/SQL. PL/SQL (Procedural Language/Structured Query Language) is embedded in the Oracle Database, and allows the creation of powerful programming blocks - procedures and functions - which interact with SQL to dramatically increase the functionality of your Oracle database.
See options at top of the page
PrerequisitesA basic level of SQL knowledge, and some understanding of relational database (RDBMS) concepts is assumed. For students who do not have experience in these areas the Introduction to SQL class is recommended.
Detailed course contents
What is PL/SQL?
Advantages of PL/SQL
Integration with SQL
Access to built-in packages
A Simple PL/SQL Block
Displaying the User Messages on the Screen
Variables in PL/SQL
Variable name rules
Assigning default values to variables
Assigning values to variables
The := assignment operator
The %TYPE attribute
Declaring a record type
Referring to values to record variables
Record type variables and %ROWTYPE
Control of flow
The Simple CASE statement
The Searched CASE statement
The GOTO statement
Declaring a cursor
Opening a cursor
Fetching into a cursor
Closing a cursor
Explicit Cursor Attributes
Cursor FOR loops
Cursor FOR loop with parameters
Locking records with a cursor
Implicit Cursor Attributes
Collections in PL/SQL
Associative arrays (index-by tables)
Initialising nested tables
Variable-size array (varray)
Using methods to loop through a collection
Assigning cursor results into a collection
Internal Oracle Errors
Handling errors in the section
Named internal Oracle exceptions
Accessing error details in
Handling non-defined internal errors
User defined exceptions
Introduction to subprograms
Benefits of subprograms
Features of subprograms
Security and subprograms
Creating a Procedure
Formal parameter list
Creating a Procedure
Executing a Procedure
Executing a procedure with parameters
Returning OUT parameters
Errors during compilation
Deleting the Procedure
Creating a Function
Calling a function from PL/SQL
Calling a function in SQL statements
Rules for calling a function in SQL statements
Deleting a Function
What are packages?
The package specification
Declaring the package specification
The package body
Declaring the package body
Referencing the package
Cursor defined in package spec
Cursor defined in package body
Dynamic SQL and PL/SQL
What is dynamic SQL and PL/SQL?
Advantages of binding
Guard against SQL injection with binding
What are triggers?
Uses of Triggers
Applying a Database trigger
Triggering event or statement
Types of table triggers
Creating a table trigger
Accessing old and new values
Additional conditional predicates
Trigger execution errors
More trigger DDL
Oracle's built-in packages
Click on a date to book it
Can't see a suitable date?
Click here to register your interest in this course and we will keep you informed when any new dates are added.
What are the course times?
Courses start at 9:30am start on the first day of your course. Subsequent days will usually start 30 minutes earlier but check with your instructor. The course will end by 4:30am each day.
Do I need to bring anything?
No, everything is provided, you only have to bring yourself.
How can I pay?
Once you have booked you will receive a confirmation email, and shortly after that, an invoice. For in-person public and private courses the invoice is payable within 30 days, for online courses payment is required 7 days before the start of the course. Payment can be made by bank transfer (BACS etc), cheque or card.
Is there a dress code?
No, there is no dress code for any of our courses.
Are refreshments provided?
At our in-person courses, mid-morning and mid-afternoon refreshments will be provided. Lunch is not provided but all our venues are in central locations.
What is the cancellation policy?
Cancellations received within 7 days of making your booking or more than 21 days before the scheduled start date will not incur any charge. For cancellations received between 7 and 21 days before the scheduled start date a 50 percent charge will apply. For cancellations received less than 7 days before the scheduled start date a 100 percent charge will apply. For online courses where you have already been sent course materials, any refund is conditional on the return of the materials at your own expense.