Oracle 12c: PL/SQL Introduction

Live Online & Classroom Enterprise Training

Location: Bangalore, India | Dubai, UAE

Industry Experienced Instructor  |  Remote Labs  |  Lab Access Post Training

Need help finding the right training?

Course Details

In this course, you will receive a hands-on introduction to the Oracle12c PL/SQL procedural language for SQL. You will cover how to insert, update, and delete data, control data sharing and locking, debug and use error report procedures. You will also learn how to develop database triggers and store procedures and functions for future reuse.

Course Agenda

1. PL/SQL Basics

  • SQL and PL/SQL
  • PL/SQL anonymous block structure and datatypes
  • Variable declarations and naming conventions
  • Object naming rules
  • Executable statements
  • Operators in PL/SQL
  • Conditional control / repetition control
  • LOOP statements – Basic LOOP, WHILE, FOR
  • CASE Expressions and Statements
  • Nested blocks
  • Labels and block identification
  • Basic coding standards
  • SQL*PLUS development environment
  • Using SQL developer
  • Bind variables / substitution variables
  • Datatypes: scalar, collection, record, reference
  • Commenting code

2. Working with Database Data

  • SELECT statements in PL/SQL
  • Selecting single and multiple rows
  • Referencing other variables or a database column’s datatypes with %TYPE
  • Using %ROWTYPE
  • Using sequences in PL/SQL
  • Modifying database data (DML)
  • Transaction control commands
  • Selecting data into PL/SQL variables
  • Explicit cursors / Cursor attributes
  • Transaction control commands
  • Referencing other structures datatypes
  • Using the cursor FOR LOOP

3. Exception Handling

  • Writing an exception handler section
  • Handling predefined and user-defined exceptions
  • Controlling exception processing
  • Preventing unhandled exceptions

4. Stored PL/SQL Objects

  • Introduction to procedures and functions stored in the database
  • Creating stored PL/SQL objects
  • Passing values with parameters
  • Creating procedures, functions, packages, and package bodies in SQL*Plus and SQL Developer
  • Introduction to database triggers
  • Viewing and recompiling stored code