Jul 17, 2024
Both types of PL/SQL blocks are divided into three sections:
Execution Section is the only mandatory section.
Declaration and Exception-Handling sections are optional.
DECLARE
Declaration Statements
BEGIN
Executable Statements
EXCEPTION
Exception handling statements
END;
DECLARE.BEGIN and ends with the keyword END.