BLOCK STATEMENT
Description
PL/pgSQL is a block-structured language. The complete body of a procedure is defined in a block, which contains variable declarations and PL/pgSQL statements. A statement can also be a nested block, or subblock.
Grammar Syntax
[ <<label>> ]
[ DECLARE
declarations ]
BEGIN
statements
EXCEPTION
WHEN OTHERS THEN
statements
END [ label ];Sample Source Patterns
Input Code:
Output Code:
Known Issues
There are no known issues.
Related EWIs.
There are no related EWIs.
Last updated
