Oracle Database – Programming in PL/SQL (ORA5)

Databases, Oracle

PL/SQL is Oracle's procedural extension to SQL, used to implement stored procedures, functions and triggers. The course explains PL/SQL block structure, variable and cursor use, and how programmable objects expand database logic and efficiency.

You will learn how to work with cursors and records, control transactions, handle exceptions, and build packages. The course also covers triggers, file I/O with UTL_FILE, dynamic SQL and managing large objects securely.

THIS TRAINING COURSE WILL HELP YOU:

  • Gain a solid foundation for PL/SQL in Oracle databases
  • Create robust and high-performance database applications
  • Optimize queries and manage databases efficiently

WHO SHOULD ATTEND?

  • Oracle DBAs who want to learn procedural PL/SQL
  • Oracle application developers using PL/SQL
  • IT professionals seeking efficient Oracle database skills

COURSE LOCATION AND AVAILABLE DATES



Choose whether to attend in person in our classroom or join online. You can select your preferred format during registration. Learn more about hybrid training.

Unlock your employees' potential. We can adapt every course in our portfolio to your objectives and participants.
Need training at your premises or want to tailor the content and duration? We will prepare the right solution, in Czech or English.

Request customised training

Course content:

Hide details
  • Review of SQL features and advanced querying
    1. SQL functions and their usage
  • Introduction to PL/SQL: structure, environment and features
    1. Basic PL/SQL syntax
    2. Block structure rules
    3. Nested blocks
    4. Declaring variables and constants
    5. Using SQL statements inside PL/SQL
    6. Interaction between PL/SQL and SQL functions
  • Retrieving data in PL/SQL
    1. Implicit and explicit cursors
    2. Records in PL/SQL
  • Transaction control
  • Conditional statements and loops; controlling program flow in PL/SQL
  • Exception handling
    1. Predefined exceptions
    2. User-defined exceptions
  • Creating stored procedures
    1. Viewing source code in the USER_SOURCE dictionary view
  • Creating stored functions
    1. Benefits of using stored functions in SQL
    2. Limitations when calling functions from SQL statements
  • Creating triggers
    1. Benefits and guidelines for using database triggers
    2. Order of trigger execution
    3. Row-level DML triggers
    4. Triggers for DDL events
    5. Triggers for system events
  • Creating packages and their benefits
    1. Restrictions for package functions used in SQL
    2. Example of encapsulating code in a package
    3. Using DBMS_OUTPUT (with SET SERVEROUTPUT ON)
  • Working with operating system files using UTL_FILE
    1. Processing files with UTL_FILE
    2. Handling UTL_FILE routines and exceptions
    3. Generating reports into files with UTL_FILE
  • Native dynamic SQL
    1. Example: DBMS_SQL package
    2. Using EXECUTE IMMEDIATE
  • Handling large objects (LOBs)
    1. Description, management and security of BFILE objects
    2. Overview of the DBMS_LOB package
  • Creating and using DIRECTORY objects to access BFILEs and files
Prerequisites:
Familiarity with SQL in an Oracle environment.
Recommended previous course:
Oracle Database – SQL Fundamentals (ORA0)
Recommended follow-up course:
Oracle PL/SQL – Programming for Advanced Users (ORA5A)
Schedule:
3 days (9:00-17:00)
Price per person:
720.00 € ( 871.20 € incl. 21% VAT)

Training and learning environment