dbTalk Databases Forums  

Management Studio: Omit "Set" when modifying a proc

microsoft.public.sqlserver.tools microsoft.public.sqlserver.tools


Discuss Management Studio: Omit "Set" when modifying a proc in the microsoft.public.sqlserver.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
DWalker07
 
Posts: n/a

Default Management Studio: Omit "Set" when modifying a proc - 01-15-2009 , 02:46 PM






When I right-click on a proc and select "Modify", or select "Script Stored
Procedure As/Alter To/whatever", the Alter statement is preceded by:

SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

During development, in order for the line numbers to match what I see in
error messages, I am always removing these statements.

*How can I tell Management Studio that I don't want these statement in
front of the Alter Procedure statement?*

I have looked in Tools/Options/Scripting, but nothing seems to affect what
happens. I have these two things set ON in the instance properties, and in
the database properties.

Thanks for any help.


David Walker

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.