|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
SET ARITHABORT ON: Why (not)?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 Hi
This setting is coming along with ANSI_WARNINGS BOL has pretty good explanations about those settings, have you read it? Show quoteHide quote "Pieter" <pietercou***@hotmail.com> wrote in message news:%23ObhKuyfGHA.4776@TK2MSFTNGP05.phx.gbl... > 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 > 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 :-) Show quoteHide quote "Uri Dimant" <u***@iscar.co.il> wrote in message news:%23cDxU0yfGHA.4880@TK2MSFTNGP03.phx.gbl... > Hi > This setting is coming along with ANSI_WARNINGS > BOL has pretty good explanations about those settings, have you read it? Pieter
It really depends on your business requiremensts ann would no applied to every case. Show quoteHide quote "Pieter" <pietercou***@hotmail.com> wrote in message news:OCDTr$yfGHA.4172@TK2MSFTNGP04.phx.gbl... > 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 :-) > > "Uri Dimant" <u***@iscar.co.il> wrote in message > news:%23cDxU0yfGHA.4880@TK2MSFTNGP03.phx.gbl... >> Hi >> This setting is coming along with ANSI_WARNINGS >> BOL has pretty good explanations about those settings, have you read it? > > On Wed, 24 May 2006 14:13:57 +0200, Pieter wrote:
>Hi, Hi Pieter,> >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'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. -- Hugo Kornelis, SQL Server MVP
Xcopy Install of VB Classic Application
DataRelation vs DataView.RowFilter property Creating a "Back" button in VB.Net/ASP.Net Project won't run from network drive. How to Use a Screen Saver app within My Application? Applying word styles using VB .Net using up too much memory and is slow application.exit( ) Wierd .NET Debugging behavior... Comparing Two DataTables Web Service |
|||||||||||||||||||||||