Course Overview
In part 2, students will dive into topics such as understanding the basic form and structure of program units stored within the database, building and maintaining stored procedures, functions, packaged programs, and database triggers. Additional topics include taking advantage of advanced programming techniques such as cursor variables and cursor expressions. This Oracle 11g course will prepare students for the Oracle certification exams (OCP).
Course Objectives
Preparing Your Environment, Database Program Units, Working with Stored Procedures and Functions, Maintaining Stored Procedures and Functions, Creating and Maintaining Packages, Advanced Cursor Techniques, Using System Supplied Packages, Creating Database Triggers, Trigger Maintenance, Working with System Event Triggers, Preparing Your Environment, Database Program Units, Working with Stored Procedures and Functions, Maintaining Stored Procedures and Functions, Creating and Maintaining Packages, Advanced Cursor Techniques, Using System Supplied Packages, Creating Database Triggers, Trigger Maintenance, Working with System Event Triggers
Course Outline
2 - Preparing Your Environment
- Installing Oracle XE
- SQL Developer Installation
- Workstation Setup
3 - Database Program Units
- Introducing the Database Program Unit
4 - Working with Stored Procedures and Functions
- Creating Stored Procedures and Functions
- Understanding the Parameter Specification
- Executing Procedures and Functions
- Calling Functions from within SQL
- Handling Compilation Errors
5 - Maintaining Stored Procedures and Functions
- Recompiling and Dropping Programs
- Data Dictionary Storage
- Managing Dependencies
- Tracking Dependencies
- Using the Dependency Tracking Utility
6 - Creating and Maintaining Packages
- What is a Package?
- Creating a Package
- Package Definition Information
- Advanced Programming Techniques
- Using Persistent Global Objects
- Including Initialization Logic
- Object Oriented Support within Packages
- Package Maintenance
7 - Advanced Cursor Techniques
- Learning to Use Cursor Variables
- Weak Cursor Definitions
- REFCURSOR Cursor Definition
- Using Cursor Expressions
8 - Using System Supplied Packages
- Using the DBMS OUTPUT () Packages
- Using the UTL_FILE() Package
9 - Creating Database Triggers
- Understanding the Database Trigger
- Statement-Level Triggers
- Row-Level Triggers
- Row Level Trigger Example 1
- Row Level Trigger Example 2
- Row Level Trigger Example 3
- Working with the INSTEAD OF Trigger
- Using Triggers within an Application
10 - Trigger Maintenance
- Using the CALL Statement
- Trigger Maintenance Tasks
- Working with Multiple Triggers for a Single Table
- Handling Mutating Table Issues
- Using the Compound Trigger
11 - Working with System Event Triggers
- What is a System Event Trigger?
- Defining Scope
- Identifying Available System Events