SET NUMERIC_ROUNDABORT ON and others

A good link: http://sqlservercode.blogspot.com/2006/11/use-sessionproperty-to-check-if.html

Useful commands:

DBCC USEROPTIONS
SELECT SESSIONPROPERTY(‘numeric_roundabort’)

NUMERIC_ROUNDABORT seems is a server level (or user session level) setting. Because when I change it on one DB, all other DBs are changed too.

If use Visual Studio Database project, make sure to check the database settings in project properties. Otherwise the changes in DB may be overwritten by next publish.

 

Advertisements
This entry was posted in SQL and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s