Reputation: 3866
I read BOL but could not figure it out.
When i exec sp_configure it shows just
Here I can not see if NOCOUNT or ANSI_WARNINGS are SET ON by befault. How can I do that?
Thanks.
Upvotes: 3
Views: 1627
Reputation: 432331
You have to enable "show advanced options" and run RECONFIGURE
The server defaults are all zero (nothing set) by the way. Your client or driver sets options automatically that will override any server defaults you set
See this for more: Who do @@OPTIONS and sp_configure provide different output?
Upvotes: 1
Reputation: 280383
You can see the defaults here:
http://msdn.microsoft.com/en-us/library/ms190707.aspx
You can check your own settings using:
DBCC USEROPTIONS;
And you can check any other session's settings using various columns in sys.dm_exec_sessions.
Upvotes: 6