Corporate Training for Teams
5.0 (2 Reviews)

Oracle PL/SQL Stored Program Units - Corporate

StayAhead Training, Online (+1 locations)
Length
24 hours
Next course start
In-House training available upon request (+2 start dates)
Course delivery
In Company, Virtual Classroom
Length
24 hours
Next course start
In-House training available upon request (+2 start dates)
Course delivery
In Company, Virtual Classroom
Leave your details so the provider can get in touch

Course description

Oracle PL/SQL Stored Program Units Course Overview

The Oracle PL/SQL Stored Program Units course provides practical experience in developing and writing triggers, functions, procedures and packages. It also introduces some of the Oracle-supplied packages.

Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.

Versions supported 12cR2, 18c and 19c.

Who will the Course Benefit?

Oracle database administrators and software development personnel who need to write new or maintain existing, PL/SQL triggers, program units and packages.

Practical experience of Oracle SQL and of using SQL*Plus or SQL Developer and a good working knowledge of the fundamentals of the Oracle PL/SQL programming language are required.

Course Objectives

To provide the skills needed to develop, write and maintain triggers, stored program units and packages.

Upcoming start dates

Choose between 2 start dates

In-House training available upon request

  • In Company
  • United Kingdom

Virtual and Hybrid options are available upon request

  • Virtual Classroom
  • Online

Suitability - Who should attend?

Requirements

Practical experience of Oracle SQL*Plus or SQL Developer and a good working knowledge of the fundamentals of the Oracle PL/SQL programming language is required. This can be gained by attendance on the pre-requisite courses.


Experience to the level as demonstrated in these courses is recommended:
  • Oracle SQL
  • Oracle PL/SQL

Training Course Content



Oracle PL/SQL Stored Program Units Training Course

Course Contents - DAY 1

Course Introduction
  • Administration and Course Materials
  • Course Structure and Agenda
  • Delegate and Trainer Introductions
Session 1: TRIGGERS
  • DML Triggers
  • The CREATE TRIGGER Statement
  • Writing Trigger Code
  • INSTEAD OF Triggers
  • Calling Procedures from Triggers
  • Coding Restrictions
  • System Event and DDL Triggers
  • Attribute Functions
  • Compound Triggers
  • Create Trigger Follows Clause
  • Managing Triggers
  • Privileges Required for Triggers
  • Dictionary Information Concerning Triggers
Session 2: PROCEDURES
  • What is a Procedure?
  • The CREATE PROCEDURE Statement
  • Procedure Parameters
  • Invoking Procedures
  • Local Subprograms
  • Named Association Parameter Passing
  • Definer's Rights and Invoker's Rights
  • Autonomous Transactions
  • Managing Procedures
  • Privileges Required for Procedures
  • Dictionary Information Concerning Procedures
  • The Call Statement
Session 3: FUNCTIONS
  • What is a Function?
  • The CREATE FUNCTION Statement
  • Executing Functions
  • Invoker's Rights
  • Autonomous Transactions
  • DBMS_OUTPUT
  • Using Functions in SQL Statements
  • Deterministic and Parallel-Enabled Functions
  • Function Result Cache
  • Managing Functions
  • Privileges Required for Functions
  • Dictionary Information Concerning Functions
Oracle PL/SQL Stored Program Units Training Course

Course Contents - DAY 2

Session 4: PACKAGES
  • What is a Package?
  • Public and Private Components
  • Creating a Package
  • Example Package
  • Persistent States
  • One-time-only Procedures
  • Overloading
  • Purity Level Checking
  • Forward Declarations
  • Wrapping Packages
  • Managing Packages
  • Privileges Required for Packages
  • Dictionary Information Concerning Packages
Session 5: USING PL/SQL RECORDS AND TABLES IN PACKAGES
  • Overview of PL/SQL Records, Index-by Tables and Associative Arrays
  • Using PL/SQL Records and Tables in Packages
  • Table Built-in Functions
  • The NOCOPY Hint
  • Bulk Collection
  • Bulk Binding DML Statements
Session 6: CURSOR VARIABLES (REF CURSORS)
  • Declare Cursor Variables
  • Use Cursor Variables
  • Open and Close Cursor Variables
  • Fetch Rows
  • Cursor Variable Attributes
  • Pass Cursor Variables as Parameters
  • Refcursor Datatype
Session 7: MANAGING DEPENDENCIES
  • Dependent and Referenced Objects
  • Invalidation and Recompilation
  • Local and Remote Dependencies
  • Recompilation Considerations
Oracle PL/SQL Stored Program Units Training Course

Course Contents - DAY 3

Session 8: NATIVE COMPILATION AND COMPILE-TIME WARNINGS
  • Introduction
  • Native Compilation
  • Automatic Recompilation
  • Automatic Program Sublining
  • WHEN OTHERS ...THEN NULL
  • Data Dictionary Information
  • Compiler Warning Categories
  • Using the DBMS_WARNING Package
Session 9: ORACLE-SUPPLIED PACKAGES
  • Overview of Oracle-Supplied Packages
  • Using the DBMS_SQL Package
  • Using Native Dynamic SQL
  • The DBMS_METADATA Package
  • The UTL_MAIL Package
  • The DBMS_APPLICATION_INFO Package
  • The DBMS_UTILITY Package
  • Scheduling Jobs using the DBMS_SCHEDULER Package
Session 10: PL/SQL DESIGN CONSIDERATIONS
  • Invoker versus Definerâ„¢ Rights
  • Grant Roles to PL/SQL Packages and Programs
  • Programming Standards for Variables, Parameters and Constants
  • Standardise Constants with a Package
  • Standardise Exceptions with a Package
  • Write PL/SQL Code using Local Subprograms
  • Use NOCOPY Compiler Hint
  • Optimise Code with the PARALLEL ENABLE hint
  • Use the AUTONOMOUS TRANSACTION Pragma

Customer Outreach Award

customer-outreach-badge-2019

We believe that it should be easy for you to find and compare training courses. 

Our Customer Outreach Award is presented to trusted providers who are excellent at responding to enquiries, making your search quicker, more efficient and easier, too.

Reviews

Average rating 5

Based on 2 reviews.
Write a review!
5/5
Grace
08 Jun 2022
explain it fully

John is a really helpful and kind instructor, any question I had he would explain it fully and provide examples to make it easier to understand. He would be the reason I recomme...

Show more
5/5
Geoff
16 Mar 2022
helped my understanding

The content was really well explained and the practical examples helped explain the content in detail. Watching the code being written and amended was really beneficial. All que...

Show more

Continuing Studies

Further Learning

  • Oracle Advanced PL/SQL
  • Oracle Database 19c Administration

Request info

Contact course provider

Fill out your details to find out more about Oracle PL/SQL Stored Program Units - Corporate.

  Contact the provider

  Get more information

  Register your interest

Country *

reCAPTCHA logo This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
StayAhead Training
56 Commercial Road
E1 1LP London

Why StayAhead. From a single person on a scheduled course to large scale training projects StayAhead Training have the expertise and experience to help. Established since 1992, StayAhead Training is recognised as one of the leading independent IT Training specialists...

Read more and show all courses with this provider

Ads