ITPub博客

首页 > Linux操作系统 > Linux操作系统 > how to disable the AUTOCOMMIT option in MSSQLServer

how to disable the AUTOCOMMIT option in MSSQLServer

原创 Linux操作系统 作者:sanxiagirl 时间:2009-04-13 16:56:55 0 删除 编辑

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博客 ” ,链接:http://blog.itpub.net/10640532/viewspace-588849/,如需转载,请注明出处,否则将追究法律责任。

上一篇: SQL Server xp_cmdshell
请登录后发表评论 登录
全部评论

注册时间:2008-01-02

  • 博文量
    142
  • 访问量
    500687