Firebird Documentation IndexFirebird 2.1 Language Ref. UpdatePSQL statements → FETCH cursor
Firebird Home Firebird Home Prev: EXITFirebird Documentation IndexUp: PSQL statementsNext: FOR EXECUTE STATEMENT ... DO

FETCH cursor

Tip

Find a more recent version at Firebird 5.0 Language Reference: FETCH

Available in: PSQL

Added in: 2.0

Description: Fetches the next data row from a cursor's result set and stores the column values in PSQL variables.

Syntax: 

FETCH cursorname INTO [:]varname [, [:]varname ...];

Notes: 

Example: See DECLARE ... CURSOR.

Prev: EXITFirebird Documentation IndexUp: PSQL statementsNext: FOR EXECUTE STATEMENT ... DO
Firebird Documentation IndexFirebird 2.1 Language Ref. UpdatePSQL statements → FETCH cursor