OPEN
Last updated
Was this helpful?
OPEN cursor_name [[USING variable[,...]] | [expression[,...]]];OPEN cursor_variable FOR dynamic_sql_string;OPEN cursor_nameThis statement opens a cursor which was previously declared with DECLARE CURSOR.
The query associated to the DECLARE CURSOR is executed when OPEN is executed. It is important to remember this if the query produces an error, or calls functions which have side effects.
This is necessary in order to FETCH rows from a cursor.
See Cursor Overview for an example.
This page is licensed: GPLv2, originally from fill_help_tables.sql
Last updated
Was this helpful?
Was this helpful?

