共用方式為


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 協助