SET ARITHABORT ON: Why (not)?

P

Pieter

Hi,

I recently started using Indexed Views in my SQL Server 2000 (Enterprise
Edition), so I need "SET ARITHABORT ON" when doing an insert or update on
one of the concerend tables.

I was wondering if it would be 'better' to set the ARITHABORT ON for the
database by default, so I wouldn't have to change it everytime, but I'm not
sure if this will have somewhere a negative impact?

Any considerations I have to take in account? Or should I jsut go for it and
SET ARITHABORT ON?

I'ts a 'normal' database, with tables, views, indexed views (1), stored
procedures, and the data in the database are used and manipulated by
Reporting Services and VB.NET 2003-applications.

Thanks a lot in advance,

Pieter
 
U

Uri Dimant

Hi
This setting is coming along with ANSI_WARNINGS
BOL has pretty good explanations about those settings, have you read it?
 
H

Hugo Kornelis

Hi,

I recently started using Indexed Views in my SQL Server 2000 (Enterprise
Edition), so I need "SET ARITHABORT ON" when doing an insert or update on
one of the concerend tables.

I was wondering if it would be 'better' to set the ARITHABORT ON for the
database by default, so I wouldn't have to change it everytime, but I'm not
sure if this will have somewhere a negative impact?

Any considerations I have to take in account? Or should I jsut go for it and
SET ARITHABORT ON?

Hi Pieter,

I'd go for it, unless you have functionality that depends on the
behaviour of SET ARITHABORT OFF.

Be aware that many front-end tools override various settings for the
connection as soon as the connection is made. Changing the database
options might not be enough - you might have to change the default
connection settings in your front-end as well.
 
P

Pieter

Yes I read it. Based on the info I found there I don't really see harm in
setting ARITHABORT ON... But I hoped somebody could assure me :)
 
U

Uri Dimant

Pieter
It really depends on your business requiremensts ann would no applied to
every case.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top