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.

请参阅

概念

ODBC API Implementation Details

其他资源

SQLEndTran Function

帮助和信息

获取 SQL Server 2005 帮助