CLOSE
Closes a declared cursor
CLOSE cursor_name;
| Argument | Description |
|---|---|
cursor_name |
Cursor name.A cursor with this name must be previously declared with a |
A CLOSE statement closes an open cursor.Only a cursor that was declared with [fblangref50-psql-declare-cursor] can be closed with a CLOSE statement.Any cursors that are still open will be automatically closed after the module code completes execution.