I need to scripts all the stored procedures and I am currently using the wizard to do that.
However it's scripting wrongly when a stored procedure has Quotes by creating double quotes.
How can I script a stored procedure without
EXEC dbo.sp_executesql @statement = '....'
but just as it is?
I am even ready to reinvent the wheel by using smo but seems that it does the same.
Am I missing the obvious?
Many thanks