Product Documentation

FairCom Direct SQL for C and C++

Previous Topic

Next Topic

ctsqlClose

Close a FairCom DB SQL cursor.

Declaration

CTSQLRET ctsqlClose(pCTSQLCMD hCmd)

Description

ctsqlClose() closes a FairCom DB SQL cursor. A cursor is created with ctsqlNewCursor().

  • hCmd the command handle.

Return

ctsqlClose() returns CTSQLRET_OK on success.

Symbolic Constant

Explanation

SQL_ERR_BADPARAM

Bad parameter specification for the statement.

SQL_ERR_NOTOPENED

Cursor not opened

See Also

ctsqlNewCursor(), ctsqlFreeCursor()

TOCIndex