Opening a declared cursor
Available in
PSQL
An statement opens a previously declared cursor, executes the SELECT
statement declared for it and makes the first record of the result data set ready to fetch. OPEN
can be applied only to cursors previously declared in a DECLARE VARIABLE
statement.
Examples
, FETCH
,