SqlServer大文件使用脚本进行导入

需要向sqlserver2008中导入大量数据, 源数据为sql脚本, 查询分析器无法打开.

可以使用sqlcmd执行:运行sqlcmd命令,并使用对应选项    sqlcmd    -S  localhost -U dbUserID -P Password   -i "D:\Data\mydata.sql"

猜你喜欢

转载自yangjieyz-126-com.iteye.com/blog/2279427