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
↧