Article ID: 138280
Article Last Modified on 11/1/2006
SQLSetConnectOption(hdbc, SQL_PRESERVE_CURSORS, SQL_PC_ON);to request that server side cursors be preserved across commits and rollbacks. After setting SQL_PC_ON, a call to SQLGetInfo to determine cursor commit behavior:
SQLGetInfo(hdbc1, SQL_CURSOR_COMMIT_BEHAVIOR,
&rgbInfoValue, sizeof(rgbInfoValue), NULL);
still returns SQL_CB_CLOSE in rgbInfoValue, which indicates that cursors
are closed on commits.
Additional query words: sql6 odbc windows nt winnt
Keywords: kbinterop kbusage KB138280