Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Quotes in Alter Proc Script

$
0
0

Not sure if I am in the right place for this question.  In all my installations of SQL Server, whether 2005 or 2008R2, when I script a stored proc as an ALTER TO the script SSMS produces always includes,

EXEC

dbo.sp_executesql@statement=N'

and I end up with a procedure full of crazy quotes that I have to keep correct or my statement fails when I try to run it.  Another developer came to the company and his scripts do not have the EXEC  dbo.sp_executesql @statement = N' with all the double quoting, etc. that has to be maintained.  Is there some way I can change my SSMS so it creates these scripts like this new developer?


Lee Markum


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>