Firebird Documentation IndexFirebird 2.1 Language Ref. Update → PSQL statements
Firebird Home Firebird Home Prev: SET TRANSACTIONFirebird Documentation IndexUp: Firebird 2.1 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
DECLARE with DOMAIN instead of datatype
COLLATE in variable declaration
NOT NULL in variable declaration
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 valid again 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.1 Language Ref. UpdateNext: BEGIN ... END blocks may be empty
Firebird Documentation IndexFirebird 2.1 Language Ref. Update → PSQL statements