OPSQL
OPSQL
Duration:
PL/SQL Workshop 5 days
This course introduces students to PL/SQL, Procedural Language for SQL. Explore the differences between
SQL and PL/SQL. Examine the characteristics of PL/SQL and how it is used to extend and automate SQL.
Course Objectives
Upon completion of this course, the student should be able to:
• Get an overview of PL/SQL
• Learn how to declare variables
• Write executable statements
• Learn how to use SQL statements in PL/SQL Programming
Benefits To You
Extend the functionality of the SQL language with PL/SQL language to write application code so that your
organization can realize the full benefit of utilizing Oracle best practices.
Course Topics
1. Introduction
• Practice 1-1: Getting Started
2. Introduction to PL/SQL
• Practice 2-1: Introduction to PL/SQL
3. Declaring PL/SQL Variables
• The %TYPE Attribute
• Practice 3-1: Declaring PL/SQL Variables
4. Writing Executable Statements
• Practice 4-1: Writing Executable Statements
5. Using SQL Statements Within a PL/SQL Block
• Practice 5-1: Using SQL Statements Within a PL/SQL
6. Writing Control Structures
• Basic Loop: Example
• Practice 6-1: Writing Control Structures
7. Working with Composite Data Types
• Associative Arrays (INDEX BY Tables)
• Practice 7-1: Working with Composite Data Types
8. Using Explicit Cursors
• Cursor FOR Loops
• Practice 8-1: Using Explicit Cursors
• Practice 8-2: Using Explicit Cursors: Optional
9. Handling Exceptions
• Practice 9-1: Handling Predefined Exceptions
• Practice 9-2: Handling Standard Oracle Server Exceptions