Oracle Database 10g: Program with PL/SQL
5 day Instructor-Led Course (40 hours)
Course Overview
This course introduces students to PL/SQL and helps them understand
the benefits of this powerful programming language. In the class,
students learn to create PL/SQL blocks of application code that can
be shared by multiple forms, reports, and data management
applications.
What you will learn
Students learn to create anonymous PL/SQL blocks, stored procedures,
and functions. They learn about declaring variables and trapping
exceptions. Students will also learn to develop stored procedures,
functions, packages and database triggers. Students will learn to
manage PL/SQL program units manage dependencies, manipulate large
objects, and use some of the Oracle-supplied packages. Students use
iSQL*Plus to develop these program units. Demonstrations and
hands-on practice reinforce the fundamental concepts. This is one of
the three exams required to achieve the OCP Developer Certification,
and one of the three exams required to achieve the OCP Developer
Certification..
Audience:
PL/SQL Programmer, Database Designers, Forms Developer, Technical
Consultant
Prerequisites:
Oracle Database 10g: Introduction to SQL
Course Objectives:
Design PL/SQL anonymous blocks that execute efficiently
Write PL/SQL code to interface with the database
Describe the features and syntax of PL/SQL
Use PL/SQL programming constructs and conditionally control code
flow (loops, control structures, and explicit cursors)
Handle runtime errors
Create simple procedures and functions
Design PL/SQL packages to group and contain related constructs
Categorize and Use the Oracle supplied PL/SQL packages to generate
screen output, file output, web output, and mail output
Schedule PL/SQL jobs to run independently
Write dynamic SQL for more coding flexibility
Create triggers to solve business challenges
Manage dependencies between PL/SQL subprograms
Course Outline:
|
Introduction to PL/SQL
What is PL/SQL
PL/SQL Environment
Benefits of PL/SQL
Overview of the Types of PL/SQL blocks
Create and Execute a Simple Anonymous Block
Generate Output from a PL/SQL Block
iSQL*Plus as PL/SQL Programming Environment
Declaring PL/SQL Identifiers
Identify the Different Types of Identifiers in a PL/SQL
subprogram
Use the Declarative Section to Define Identifiers
List the Uses for Variables
Store Data in Variables
Declare PL/SQL Variables
Writing Executable Statements
Describe Basic Block Syntax Guidelines
Use Literals in PL/SQL
Customize Identifier Assignments with SQL Functions
Use Nested Blocks as Statements
Reference an Identifier Value in a Nested Block
Qualify an Identifier with a Label
Use Operators in PL/SQL
Use Proper PL/SQL Block Syntax and Guidelines
|
Interacting with the Oracle Server
Identify the SQL Statements You Can Use in PL/SQL
Include SELECT Statements in PL/SQL
Retrieve Data in PL/SQL with the SELECT Statement
Avoid Errors by Using Naming Conventions When Using Retrieval and
DML Statements
Manipulate Data in the Server Using PL/SQL
The SQL Cursor concept
Use SQL Cursor Attributes to Obtain Feedback on DML
Save and Discard Transactions
Writing Control Structures
Control PL/SQL Flow of Execution
Conditional processing Using IF Statements
Conditional Processing CASE Statements
Handle Nulls to Avoid Common Mistakes
Build Boolean Conditions with Logical Operators
Use Iterative Control with Looping Statements
Working with Composite Data Types
Learn the Composite Data Types of PL/SQL Records and Tables
Use PL/SQL Records to Hold Multiple Values of Different Types
Inserting and Updating with PL/SQL Records
Use INDEX BY Tables to Hold Multiple Values of the Same Data Type
|