Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Administration - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 6525

Arithabort and Set Ansi warning defaults

$
0
0
Hi There,Im a bit puzzled by how sql is behaving and am wondering if someone can shed some light on this.The default on our database for arithabort and set ansi warnings is OFF.When I run a select from sys.databases, the database shows up with is_ansi_warnings_on = 0 and is_arithabort_on = 0.However, if I run a select 1/0, it returns a divide by zero error.Further, if I look at the @@Options, I can see that Arithabort and ansiwarnings are set to ON.Why are they set to ON, if the default on the database is set for them to be off?We're on 12.0.2000.8

Viewing all articles
Browse latest Browse all 6525

Trending Articles