CLOSE CURSOR

CLOSE Syntax Diagram


1. CLOSE DATASET dsn.
2. CLOSE CURSOR c.

Effect

Closes the file dsn, ignoring any errors which may occur. CLOSE is required only if you want to edit dsn several times. For further details, see the documentation for OPEN DATASET.

Effect

Closes the database cursor c. CLOSE CURSOR is only required if you want to read sets of database records several times with c. For further information, refer to the documentation on OPEN CURSOR and FETCH.

CLOSE CURSOR belongs to the Open SQL command set.