NAME
SQLprepareCursor - setup an internal SQL statement for access from tcl

SYNOPSIS
SQLprepareCursor cursor sql_statement

DESCRIPTION

The SQLprepareCursor command associates sql_statement with an internal statement. This command should be immediately followed with a SQLdescribeCursor command. These two commands depend on an internal embedded SQL statement. The cursor argument of SQLprepareCursor and SQLdescribeCursor should match.

KEYWORDS
database, cursor

SEE ALSO
SQLdescribeCursor(3)

BUGS
You cannot prepare two cursors simultaneously. The first cursor must be closed with SQLcloseCursor before one can call SQLprepareCursor on the second cursor. I'm told that this is a feature of Ingres 6.4, but it could be a bug of the tclsql software.