I am sorry about the errors you got running the script. I think it is because the web site formatted some of the single quotes with a different single quote. I have updated the source with a different formatting option, so hopefully all the single quotes will remain as true single quotes.
If the script is not auto-updated here on codeproject soon, you can get it from my source site at http://csharpdeveloper.wordpress.com/2012/02/09/use-a-sql-script-to-generate-well-formatted-stored-procedures-in-sql-server/[^]
Last Visit: 31-Dec-99 18:00 Last Update: 26-Apr-24 15:44