November 8, 2011 at 1:28 pm
Hello,
I am new at my company and I am trying to determine if implicit transactions is turned on? How can I do this via a command or the ui?
Thanks,
Nick
November 8, 2011 at 1:38 pm
Implicit transactions isn't a database-level setting. It's a client setting, so client apps would enable it (or not) when they connect.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
November 9, 2011 at 7:16 am
Isnt ANSI SETTINGS ON database wide? It is my understanding that setting would turn on implicit transactions.
November 9, 2011 at 7:24 am
No such option as Ansi Settings. The various Ansi set options and implicit transactions are client settings. They're set (or not) when a client connects.
There's an sp_configure setting (user options) that sets defaults for connecting clients, but they can still override that.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
November 9, 2011 at 8:13 am
I might be misunderstanding something but when setting ANSI_DEFAULTS to on I would be also setting implicit transactions on which from what I am reading here is a server setting: http://msdn.microsoft.com/en-us/library/ms188340.aspx
November 9, 2011 at 8:19 am
nicholasr 68909 (11/9/2011)
I might be misunderstanding something but when setting ANSI_DEFAULTS to on I would be also setting implicit transactions on which from what I am reading here is a server setting: http://msdn.microsoft.com/en-us/library/ms188340.aspx
You should look into this article.
SET IMPLICIT_TRANSACTIONS (Transact-SQL)
November 9, 2011 at 8:57 am
This article may be of interest:
November 9, 2011 at 9:28 am
nicholasr 68909 (11/9/2011)
I might be misunderstanding something but when setting ANSI_DEFAULTS to on I would be also setting implicit transactions on which from what I am reading here is a server setting: http://msdn.microsoft.com/en-us/library/ms188340.aspx
That page is bloody confusing.
It's a SET option, so it's a client setting. The server wide setting would be the sp_configure 'user options' which just sets the defaults for connections that clients can overrule.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
Viewing 8 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic. Login to reply