ctsqlSetPreserveCursor
Sets the connection Preserve Cursor option before calling ctsqlConnect. To be used before calling ctsqlConnect. If the connection is active, ctsqlSetPreserveCursor will fail.
Declaration
Preserve Cursor set to CTSQL_TRUE (1) indicates that cursors are not closed when the current transaction ends. the default is CTSQL_FALSE (0).
CTSQLRET ctsqlDECL ctsqlSetPreserveCursor (pCTSQLCONN hConn, BIT flag)
Parameters:
Return
Return CTSQLRET_OK on success.