Firebird Documentation IndexFirebird 2.0 Language Ref. Update → PSQL statements
Firebird Home Firebird Home Prev: SET TRANSACTIONFirebird Documentation IndexUp: Firebird 2.0 Language Ref. UpdateNext: BEGIN ... END blocks may be empty

Chapter 8: PSQL statements

Table of Contents

BEGIN ... END blocks may be empty
BREAK
CLOSE cursor
DECLARE
DECLARE ... CURSOR
DECLARE [VARIABLE] with initialization
EXCEPTION
Rethrowing a caught exception
Providing a custom error message
EXECUTE PROCEDURE
EXECUTE STATEMENT
No data returned
One row of data returned
Any number of data rows returned
Caveats with EXECUTE STATEMENT
EXIT
FETCH cursor
FOR EXECUTE STATEMENT ... DO
FOR SELECT ... INTO ... DO
AS CURSOR clause
LEAVE
OPEN cursor
PLAN allowed in trigger code
UDFs callable as void functions
WHERE CURRENT OF invalid for view cursors

Tip

Find a more recent version at Firebird 5.0 Language Reference: Procedural SQL (PSQL) Statements

PSQL – Procedural SQL – is the Firebird programming language used in stored procedures, triggers and executable blocks.

Prev: SET TRANSACTIONFirebird Documentation IndexUp: Firebird 2.0 Language Ref. UpdateNext: BEGIN ... END blocks may be empty
Firebird Documentation IndexFirebird 2.0 Language Ref. Update → PSQL statements