In Query Analyzer (for SQL Server 2000): Tools / Options / Connection
Properties / Set implicit_transactions to ON. This affects only new
connections.
Also in Query Analyzer: Query / Current coonnection pproperties / Set
implicit_transactions ON to affect the current connection.
In SQL Server Management Studio (for SQL Server 2005):
Tools / Options /Query Execution / SQL Server / ANSI / SET IMPLICIT_TRANSACTIONS ON (for
new connections),
and Query / Query Options / Execution / ANSI / SET
IMPLICIT_TRANSACTIONS ON (for the current connection).
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/10640532/viewspace-588849/ ,如需转载,请注明出处,否则将追究法律责任。