NAME
SQLcloseCursor - Close a tclsql cursor

SYNOPSIS
SQLcloseCursor cursor

DESCRIPTION

The SQLcloseCursor command deallocates space for a tclsql cursor. SQL cursors are used to retrieve data from select commands that return multiple rows of data.

Attempting to close a cursor that does not exist will produce an error message, and SQLcloseCursor will return TCL_ERROR.

Note that SQLclosedb will free up space used by any user defined cursors. Note further that SQLcommit closes all open cursors, but does not deallocate the space the cursors may occupy.

KEYWORDS
database, cursor

SEE ALSO
SQLclosedb(3), SQLcommit(3), SQLdeclareCursor(3)