摘要: 打开cmd命令窗口,输入如下命令: sqlcmd -S ipaddress -U user -P password -d dbname -i file 其中,ipaddress是数据库服务器ip,user是登录用户,password是密码,dbname是数据库名称,file 是脚本文件。 eg:osql _S 127.0.0.1 -U sa -P 123456 -d mydb -i D:\... 阅读全文
posted @ 2018-11-09 14:17 vinsonLu 阅读(1548) 评论(0) 推荐(0) 编辑