MDAC 2.5 SDK - ODBC Programmer's Reference
Chapter 16: Interoperability


 

Commit and Rollback Behavior

A common behavior among server DBMSs is to close cursors and discard prepared statements when a statement is committed or rolled back. Desktop databases are more likely to keep cursors open and keep prepared statements. For more information, see the SQL_CURSOR_COMMIT_BEHAVIOR and SQL_CURSOR_ROLLBACK_BEHAVIOR options in the SQLGetInfo function description and "Effect of Transactions on Cursors and Prepared Statements" in Chapter 14, "Transactions."