Database Programming, Transaction Management, and Cursors Course

Save 10% on every order with code MADA10 — copy & apply at checkout

Online price Live online sessions with the instructor on the course dates, with the chance to interact and ask questions during each session.

1,400

Course's duration

7 Days • 28 Hours • Evening

Course's date

06/12/2026

Course's date

06/12/2026
Have a question? "I have a question about: Database Programming, Transaction Management, and Cursors Course"

This specialized course equips trainees to build and develop advanced, secure, and high-performance software solutions inside the database engine in accordance with the latest version of the internationally accredited procedural database programming curriculum (1Z0-149). The course focuses on deepening your understanding of procedural programming language architecture and its interaction with the query engine, designing program blocks, managing cursors to handle large datasets, controlling process flow and data records, handling runtime exceptions and errors, building reusable code units such as stored procedures, functions, and packages, and implementing automated triggers to ensure corporate data integrity and confidentiality.

Important Notice: Upon completing the training course, trainees receive a certificate of attendance issued by the center. This course aims to prepare trainees to pass the Oracle Database Program with PL/SQL (1Z0-149) exam by explaining the official accredited curriculum and preparing them to obtain the Oracle Certified Professional in PL/SQL credential. Please note that the center’s role is strictly limited to providing training and preparation; it is not an accredited testing center authorized to administer exams or grant international certifications on behalf of Oracle, as exam administration and certification issuance are governed solely by the designated certifying authority. Additionally, after studying the curriculum, you can practice solving official exam questions through the Oracle Database Program with PL/SQL (1Z0-149) Exam Preparation Course for the Oracle Certified Professional in PL/SQL Certification from Oracle.

Course Objectives

  • Establish a deep understanding of procedural programming language architecture and its integration with the database engine.
  • Enable participants to write advanced program blocks and manage variables, composite data types, and control structures.
  • Master row-by-row dataset processing using implicit and advanced explicit cursors.
  • Apply professional techniques for trapping and handling runtime exceptions and user-defined errors to ensure system stability.
  • Build and develop stored subprograms such as procedures and functions, and group them into integrated software packages.
  • Program automated triggers and leverage performance tuning and bulk data processing techniques.

Detailed Course Content

Module 1: Block Structures & Flow Control

  • Architecture & Anonymous Blocks: Understand the structure of program blocks (declarative, executable, and exception-handling sections) and how the shared programming engine operates.
  • Variables & Binding Attributes: Declare variables and constants, and apply dynamic binding attributes with database columns and tables (%TYPE & %ROWTYPE).
  • Conditional Control Structures: Use IF-THEN-ELSIF statements, advanced logical expressions, and CASE expressions and statements.
  • Iterative Processing: Implement basic loops, WHILE loops, numeric FOR loops, and loop exit and jump controls.
  • SQL in Procedural Code: Execute INSERT, UPDATE, and DELETE statements and manage transactions via COMMIT, ROLLBACK, and SAVEPOINT.
  • Practical Training & Assessment: Complete applied exercises and case questions on writing program blocks to calculate operations and manage financial transactions inside the database.

Module 2: Cursors & Composite Collections

  • Implicit Cursors: Utilize automatic cursors and leverage their evaluation attributes (%FOUND, %NOTFOUND, %ROWCOUNT).
  • Explicit Cursors: Follow the lifecycle of an explicit cursor (declaring, opening, fetching, and closing) and implement cursor FOR loops.
  • Parameterized Cursors & Locking: Pass parameters to cursors and apply record locking to prevent conflicts during updates (FOR UPDATE & WHERE CURRENT OF).
  • PL/SQL Records: Define programmer-defined records and table-based records to process multi-column data as a single unit.
  • Collections & Associative Arrays: Use index-by tables, variable-size arrays (VARRAYs), and nested tables, and apply collection methods (COUNT, EXTEND, DELETE).
  • Practical Training & Assessment: Complete applied exercises and case questions on creating custom cursors for payroll processing and utilizing temporary arrays.

Module 3: Exception Handling

  • Exception Handling Concepts: Understand error interception mechanisms, prevent abrupt program crashes, and separate error-handling logic from operational code.
  • Predefined Server Errors: Handle common system-predefined errors such as NO_DATA_FOUND, TOO_MANY_ROWS, and ZERO_DIVIDE.
  • Non-Predefined Errors & PRAGMA: Intercept numeric system errors by associating them with named exceptions using the PRAGMA EXCEPTION_INIT directive.
  • User-Defined Exceptions: Define business logic exceptions, raise them programmatically via RAISE, and use the built-in RAISE_APPLICATION_ERROR procedure to pass custom error messages.
  • Error Trapping Functions: Use the SQLCODE and SQLERRM functions along with call-stack inspection packages to log errors into dedicated audit tables.
  • Practical Training & Assessment: Complete applied exercises and case questions on designing an automated audit and tracking system to intercept and document all runtime errors.

Module 4: Stored Procedures & Functions

  • Stored Procedures: Create, modify, and drop stored procedures, and understand the code compilation lifecycle and storage in the Data Dictionary.
  • Parameter Modes: Manage IN, OUT, and IN OUT parameters, and pass values using positional and named notation.
  • Stored Functions: Build executable functions, use the RETURN statement, and understand the restrictions on invoking stored functions within SQL queries.
  • Definer’s Rights vs. Invoker’s Rights: Distinguish between executing subprograms with the owner’s privileges versus the invoking user’s privileges (AUTHID CURRENT_USER).
  • Practical Training & Assessment: Complete applied exercises and case questions on building financial functions for tax calculations and stored procedures to automate purchasing and transfer operations.

Module 5: Packages Architecture

  • Package Architecture: Distinguish between the Package Specification and Package Body, and apply information hiding and code encapsulation principles.
  • Subprogram Overloading: Use the same name for multiple procedures or functions with different parameters and data types, and understand overloading restrictions.
  • Package State & Initialization: Utilize package global variables and one-time initialization blocks that execute when a package is first loaded into memory.
  • Supplied Oracle Packages: Leverage standard system packages for output, file control, and job scheduling (DBMS_OUTPUT, UTL_FILE, DBMS_SCHEDULER).
  • Practical Training & Assessment: Complete applied exercises and case questions on grouping application functions and procedures into a unified administrative package and managing session variables.

Module 6: Triggers, Dynamic SQL & Tuning

  • DML Triggers: Create BEFORE and AFTER event triggers, and distinguish between statement-level and row-level triggers (FOR EACH ROW).
  • Correlation Identifiers & Conditions: Use :OLD and :NEW value prefixes and WHEN execution conditions, and deploy triggers to prevent unauthorized transactions.
  • INSTEAD OF & System Triggers: Build modification triggers on complex Views, as well as database event triggers (LOGON, STARTUP, DDL Triggers).
  • Native Dynamic SQL: Formulate and execute queries and statements at runtime using EXECUTE IMMEDIATE and variable binding (USING clause).
  • Performance Tuning & Bulk Binding: Utilize bulk processing commands (BULK COLLECT & FORALL) to accelerate operations and apply advanced compiler directives.
  • Practical Training & Assessment: Complete applied exercises and case questions on building a security audit trigger to log sensitive modifications and applying bulk processing to large record sets.

Target Audience

  • Database Developers and database engineers.
  • Database Administrators (DBAs) seeking to master advanced procedural programming.
  • Backend and Enterprise Application Developers.
  • Data analysts and systems engineers looking to automate processing and transformation workflows inside databases.
  • Computer science and information technology graduates aiming to build a specialized career path in database technologies.

This course serves as the core pillar for enterprise software development at the database tier, equipping you with the practical tools and engineering expertise required to write high-efficiency code that meets the demands of large-scale systems and corporations.

Order course

Student

Request a quote

Database Programming, Transaction Management, and Cursors Course
Enter the number without the zero at the beginning.
This site is protected by reCAPTCHA and Google privacy and Terms of Service are applied

Whatsapp