C
Calvin Slater
It is recommended that the following settings be set for all
connections so that the optimizer will perform well on indexed views
and stuff.
SET QUOTED_IDENTIFIER ON
SET ARITHABORT ON
SET CONCAT_NULL_YIELDS_NULL ON
SET ANSI_NULLS ON
SET ANSI_PADDING ON
SET ANSI_WARNINGS ON
SET NUMERIC_ROUNDABORT OFF
I am using ASP.NET and SqlClient. What is the best method ensure
these settings on each connection? I am not always able to control
the settings from the server side since some clients already have
restrictions on how these should be set.
Thanks
connections so that the optimizer will perform well on indexed views
and stuff.
SET QUOTED_IDENTIFIER ON
SET ARITHABORT ON
SET CONCAT_NULL_YIELDS_NULL ON
SET ANSI_NULLS ON
SET ANSI_PADDING ON
SET ANSI_WARNINGS ON
SET NUMERIC_ROUNDABORT OFF
I am using ASP.NET and SqlClient. What is the best method ensure
these settings on each connection? I am not always able to control
the settings from the server side since some clients already have
restrictions on how these should be set.
Thanks