Quoted Identifiers
by Bob Horkay
Recently we had some issues with stored procedures having quoted identifiers set differently. We wanted to run a query to get a listing of any other procedures having quoted identifiers set on or off.
With some help from people at work we found two queries using the DMV's.
select
* from sys.sql_moduleswhere uses_quoted_identifier <> 1
and
Select
nameFrom sys.all_objects
where ObjectPropertyEx ( Object_ID , 'ExecIsQuotedIdentOn' ) = 0 and type = 'p'