tags:

views:

31

answers:

1

Hi,

is there a way to identify whether the object is created with SET QUOTED_IDENTIFIER on or off?? (not only this set option, am lookin for a script to identify all the ANSI settings associated to the object)

this is a follow up to the questions in staack link - 1 and Link-2

i ve been getting the SET QUOTED_IDENTIFIER error on a single table (which got indexed view). I have verified all the settings, scripts are fine. and it created perfectly with correct settings.

It gives the error all of a sudden after applying some db fixes (not our script)..

Note: sorry to open a new thread, i dint get any possible solution to my first link - 1 thread, thought its dead

Cheers

Ramesh Vel

+1  A: 

For code and check constraints:

SELECT 
    OBJECTPROPERTYEX (OBJECT_ID('MyProc'), 'ExecIsQuotedIdentOn')
    OBJECTPROPERTYEX (OBJECT_ID('MyCK'), 'IsQuotedIdentOn')

I can't find anything for tables/indexes in system views or functions.

gbn
thanks gbn.. this is wat i really needed.. :)
Ramesh Vel