Share via


SQLEndTran

By default, the SQL Native Client ODBC driver closes a statement's associated cursor when SQLEndTran commits or rolls back an operation. Server cursors are closed unless they are static. When SQLEndTran commits or rolls back an operation, the behavior of the statement's associated cursor is determined by the value of the driver-specific ODBC connection attribute SQL_COPT_SS_PRESERVE_CURSORS, set by SQLSetConnectAttr.

See Also

Concepts

ODBC API Implementation Details

Other Resources

SQLEndTran Function

Help and Information

Getting SQL Server 2005 Assistance