| |
| |
 |
| |
|
|
|
| |
| ORACLE10g
PL/SQL |
| |
| Course
duration(in hrs): 28
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.
Course Objectives:
- Describe the features and syntax of PL/SQL
- Conditionally control code flow (loops, control structures, and explicit cursors)
- Compile time warnings
- Handle runtime errors
- Manage program constructs
- Create, execute, and maintain procedures, functions, packages, and triggers
- Manage dependencies
- Manipulate large objects
- Describe Oracle-supplied packages
|
| |
| Prerequisites: |
- Database Fundamentals
- Working knowledge of SQL
|
| Duration: 3 Days |
| |
| Break-up |
| Day 1 |
|
Introduction to PL/SQL |
| |
Session 2 |
|
| |
Session 3 |
Using SQL with PL/SQL |
| Day 2 |
Session 4 |
Records |
| |
Session 5 |
|
| |
Session 6 |
Error Handling |
| |
Session 7 |
Creating Procedures |
| Day 3 |
Session 8 |
|
| |
Session 9 |
|
| |
Session 10 |
|
| |
Session 11 |
Scheduling Tasks |
|
| |
| |
| Course Topics |
| |
| Session 1 |
| Introduction to PL/SQL |
- Introduction to Programming Languages
-
Structured Query Language (SQL)
- PL/SQL vs. SQL
-
PL/SQL History and Features
- Language Fundamentals
-
Anonymous Blocks
|
|
Session 2 |
| PL/SQL Basics |
- The PL/SQL Block
- The Basic Structure
- Named Blocks
- Nested Blocks
- Language Rules and Conventions
- Lexical Units
- PL/SQL Data Types
- Composite
- Reference
- LOB
- %TYPE %ROWTYPE
- Variable Scope
- Bind Variables
- Assignment Operator
- Controlling Program Flow
- Conditional Evaluation
- Circular Execution
- Quoting mechanism for string literals
|
|
Session 3 |
Using SQL with PL/SQL |
- Transaction Processing
- Autonomous Transactions
- Set Transaction
- Retrieving Data
- SQL SELECT Statement
- Cursors
- Explicit Cursors
- Implicit Cursors
- Cursor Subqueries
- Open Cursors
- Introduction to Dynamic SQL
|
|
| Session4 |
Records |
- Writing a Successful SELECT Statement in PL/SQL
- Declaring the Data type and Size of a PL/SQL Variable
Dynamically
- Writing Data Manipulation Language (DML) Statements in
PL/SQL
|
|
| Writing
Control Structures |
- Identifying the Uses and Types of Control Structures
- Constructing an IF Statement
- Constructing and Identifying Different Loop Statements
- Controlling Block Flow Using Nested Loops and Labels
- Using Logic Tables
|
|
| Working
with Composite Data types |
- Creating User-Defined PL/SQL Records
- Creating a PL/SQL Table
- Creating a PL/SQL Table of Records
- Differentiating Among Records, Tables, and Tables of
Records
|
| |
|
|
| |
|