|
(703)246-9100 Northern Virginia (804)285-5830 Central Virginia (757)420-3810 Tidewater Area (800)294-7497 Toll Free (804)285-3722 Fax |
Oracle9i INTRODUCTION TO PL/SQL
Duration: 2 days
Course Description:
This course will introduce the Oracle9i PL/SQL programming language. Students will control data sharing and locking, develop an understanding of multi-user and concurrent transactions and develop database triggers, stored procedures and functions.
You can learn …
The PL/SQL Environment and Program Structure
Update, Insert and Delete Statements
Variable Scope Rules
Error Report Functions
Debugging Procedures
Logical Comparisons
To define and Execute Procedures, and To define Functions, store and Test a Function
To create Package Specifications
To store PL/SQL Program Units
Who Needs to Attend:
Application Developers and Database Administrators who need a fundamental understanding of Oracle 9i, PL/SQL or the SQL language.
Prerequisites:
Oracle 9i Foundation: SQL Basics & SQL*PLUS or equivalent experience.
Course Labs:
Using PL/SQL to create an Anonymous Block
PL/SQL Basics
Selecting and Updating Database Data
Using Explicit Cursors
Handling Exceptions
Creating a Procedure
Creating a Function
Creating a Package
Creating a Database Trigger
Course Content:
PL/SQL BASICS
SQL and PL/SQL
PL/SQL anonymous block structure
PL/SQL Datatypes
Variable declarations
Object naming rules
Executable Statements
Repetition control
LOOP statements – Basic LOOP, WHILE, FOR
CASE Expressions and Statements
Basic Coding Standards
SQL*PLUS development environment
WORKING WITH DATABASE DATA
Selecting single and multiple rows
Referencing other variables or a database column’s datatypes
Modifying database data (DML)
Implicit cursor attributes
Transaction control commands
Autonomous Transactions
Selecting data into PL/SQL variables
Declaring explicit cursors
Referencing other structures datatypes
Using the cursor FOR LOOP
Displaying messages with DBMS_OUTPUT
FOR UPDATE / WHERE CURRENT OF
EXCEPTION HANDLING
Writing an exception handler section
Handling predefined exceptions
Handling user-defined exceptions
Controlling exception processing
Using RAISE_APPLICATION_ERROR
Preventing unhandled exceptions
Using PRAGMA EXCEPTION_INIT
Using SQLCODE and SQLERRM
STORED PL/SQL OBJECTS
Introduction to procedures and functions stored in the database
Creating stored PL/SQL objects
Passing values with parameters
Formal vs. actual parameters
Parameter types – IN / OUT / IN OUT
Creating procedures, functions, packages, package bodies
Introduction to database triggers
Viewing and recompiling stored code
Unique Training Solutions for Unique Clients - Expanding skills today to meet the challenges of tomorrow