April 7, 2011 at 6:39 am
Hi,
When a stored procedure is created the settings for ANSI NULLS and QUOTED IDENTIFER which were set at creation time are 'saved with the stored procedure' and can be seen in sys.sql_modules.
My question is the following: Is it possible to update these settings without rescripting the objects?
I suspect not, but hopefully I'm wrong.
Thanks,
David.
April 7, 2011 at 6:53 am
David McKinney (4/7/2011)
Hi,When a stored procedure is created the settings for ANSI NULLS and QUOTED IDENTIFER which were set at creation time are 'saved with the stored procedure' and can be seen in sys.sql_modules.
My question is the following: Is it possible to update these settings without rescripting the objects?
I suspect not, but hopefully I'm wrong.
Thanks,
David.
Unless the SET ANSI NULLS was for OFF, I wouldn't change them on a bet.
--Jeff Moden
Change is inevitable... Change for the better is not.
April 7, 2011 at 7:30 am
Hi Jeff.
I'm aware of the consequences of changing these settings.
Actually I'm not even changing them - the question relates more to scripting the existing setup. I know I'm being a little cryptic, but you wouldn't thank me for giving you all the details.
Let me put the question differently....if I have an sp with the settings incorrect, is there an other option than to ALTER or DROP / CREATE the object?
Thanks again.
April 7, 2011 at 8:39 am
David McKinney (4/7/2011)
Hi Jeff.I'm aware of the consequences of changing these settings.
Actually I'm not even changing them - the question relates more to scripting the existing setup. I know I'm being a little cryptic, but you wouldn't thank me for giving you all the details.
Let me put the question differently....if I have an sp with the settings incorrect, is there an other option than to ALTER or DROP / CREATE the object?
Thanks again.
I don't know 100% for sure but, IIRC, I don't believe there is.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply