thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

Data & Analytics · Intermediate

PL/SQL

Oracle's procedural extension of SQL, used to write blocks, procedures, functions, packages and triggers.

Definition

PL/SQL code is organized into blocks with DECLARE, BEGIN, EXCEPTION and END sections, and it adds variables, loops, cursors and exception handling. Packages group related procedures and functions.

Example

BEGIN UPDATE emp SET sal = sal * 1.1; COMMIT; EXCEPTION WHEN OTHERS THEN ROLLBACK; END;

Exam tip

The Oracle Database SQL exam focuses on SQL, but expect Oracle-specific functions such as NVL, DECODE and TO_DATE.

Related terms