Declares a cursor definition. A cursor is declared in accordance
with the select-statement or the result set procedure call
specified in procedure-call-statement. The select-statement may
be specified explicitly in ordinary embedded SQL applications or
by the name of a prepared select-statement, identified by
statement-name, in dynamic SQL statements, see the Mimer SQL
Programmer's Manual, chapter 11, Dynamic SQL. The cursor is
identified by cursor-name, and may be used in FETCH, DELETE
CURRENT and UPDATE CURRENT statements. The cursor must be
activated with an OPEN statement before it can be used. A cursor
declared as REOPENABLE may be opened several times in
succession, and previous cursor states are saved on a stack, see
OPEN. Saved cursor states are restored when the current state is
closed, see CLOSE. A cursor declared as SCROLL will be a
scrollable cursor. For a scrollable cursor, records can be
fetched using an orientation specification. See the description
of FETCH for a description of how the orienta