简体   繁体   中英

Generate scripts SQL Server 2008

I would like to generate scripts of about 100 Stored Procedures. When I generate script, all the files contains 'CREATE PROCEDURE' statement. How should I get scripts with 'ALTER PROCEDURE' statement?

  • Find/replace in an editor
  • Script with a DROP first
  • Use a 3rd party to generate a differential script instead

如果将所有脚本生成到新的查询窗口,则可以按Ctrl-Shift-H组合键以在文件中查找和替换对话框,然后在“创建过程”上执行“查找并替换”为“更改过程”?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM