SELECT OBJECTPROPERTY(OBJECT_ID('<procedure name>'), 'ExecIsANSINullsOn')
1 is on, 0 is off.

Signature
Jacco Schalkwijk
SQL Server MVP
> We had a stored procedure that was created while
> ansi_nulls was on. Is there a way to tell if SP has any of
> the ansi settings changed from default? Just curious.
>
> Sk
Thanks a million Jacco.
SK
>-----Original Message-----
>SELECT OBJECTPROPERTY(OBJECT_ID('<procedure name>'), 'ExecIsANSINullsOn')
[quoted text clipped - 8 lines]
>
>.