Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
peteh
Starting Member
8 Posts |
Posted - 2009-05-12 : 18:34:51
|
| Is there an easy way to determine the default connection settings SQL server will use for new connections?I'm particularly interested to know what the values are for these:ANSI_NULLS ON ANSI_PADDING ONANSI_WARNINGS ONCONCAT_NULL_YIELDS_NULL ONQUOTED_IDENTIFIER ONNUMERIC_ROUNDABORT OFFARITHABORT ONPete |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2009-05-12 : 18:58:49
|
| [code]SELECT SESSIONPROPERTY('ANSI_NULLS') -- 1 = on, 0 = off[/code]SESSIONPROPERTY() is documented in Books Online. |
 |
|
|
peteh
Starting Member
8 Posts |
Posted - 2009-05-13 : 02:49:59
|
quote: Originally posted by robvolk SESSIONPROPERTY() is documented in Books Online.
Indeed it is, I was wrongly looking for a stored procedure.Thanks for this Rob. |
 |
|
|
YellowBug
Aged Yak Warrior
616 Posts |
Posted - 2009-05-13 : 04:28:56
|
| DBCC USEROPTIONS() gives a full list of the settings |
 |
|
|
|
|
|