许多Sql脚本要执行 [英] Many Sql scripts to execute

查看:47
本文介绍了许多Sql脚本要执行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在C中有90个脚本:\ SQL Scripts \ * sql


我怎么能通过命令执行,我在网上看到很多东西但是可以成功执行它, ,

我使用的是sql 2008 R2,而不是默认实例

I have 90 scripts in C:\SQL Scripts\*sql

how could i execute by command ,i saw many things on net but could execute it successfully,,,
I am using sql 2008 R2 , not a default instance

推荐答案

您可以从命令行运行:
You can run this from the command line:
展开 | 选择 | Wrap | 行号


我安装了SQL multiScripts软件,试用版
I installed SQL multiScripts software ,, trial version


@Rabbit

您的SQLCMD命令是否涵盖了SQL Server不是runni的事实ng作为默认实例?


@ Waqar100

如果您要求帮助,您应该在有人发布帮助时回复。如果您选择使用特殊软件来处理这个问题,尽管有标准软件可用,并为您提供帮助,您当然可以解释原因。否则,您似乎忽略了您要求帮助您的专家。
@Rabbit
Does your SQLCMD command cover the fact that the SQL Server is not running as the default instance?

@Waqar100
If you ask for assistance you should respond to when someone posts that help. If you have chosen to use special software to handle this in spite of standard software being available, and help for that given to you, surely you can explain why. Otherwise it seems like you have just ignored the expert whom you asked to help you.


这篇关于许多Sql脚本要执行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆