SQL Server删除和创建脚本生成 [英] SQL Server Drop and Create script Generation
本文介绍了SQL Server删除和创建脚本生成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在不使用SQL Server管理UI的情况下为存储过程创建Drop和Create脚本。我想通过SQL Script Ant存储在NVARCHAR(MAX)变量中创建脚本。
请建议正确的方法。
I want to create Drop and Create script for a stored procedure without using SQL Server Management UI. I want to create script through SQL Script ant store in a NVARCHAR(MAX) variable.
Please suggest proper way.
推荐答案
我认为这就是你要找的东西
http://stackoverflow.com/questions/7207779/scripts-all-sprocs-at-once-with-drop-and-create [ ^ ]
i think this is what you are looking for
http://stackoverflow.com/questions/7207779/scripts-all-sprocs-at-once-with-drop-and-create[^]
这篇关于SQL Server删除和创建脚本生成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文