
Deploy
diandian82
这个作者很懒,什么都没留下…
展开
-
Auto Deploy database example.
/*Be careful of the path*/del log.outcd 01_SystemStoredProceduresfor %%f in (*.sql) do osql -S %1 -d %2 -n -E -i %%f >> ../log.outcd ../02_tablesfor %%f in (*.sql) do osql -S %1 -d %2 -n -E原创 2007-09-25 09:49:00 · 667 阅读 · 0 评论 -
Using SQLCMD to deploy sql script on SQLServer
sqlcmd -S LocalHost -E -i c:/test_DB.sql >>log.txt Here only specify the Server name, for the db name should be declared in the sql script. for more information, please see the command help原创 2009-08-19 02:36:00 · 458 阅读 · 0 评论