cmd命令行,管理员身份运行
执行以下语句:E:\dbbak\abhs\SmartEnglish_data.sql 为文件路径,AbhsEnglish 为要导入的数据库
sqlcmd -i E:\dbbak\abhs\SmartEnglish_data.sql -d AbhsEnglish
导入成功后查询:

select a.name as 表名,max(b.rows) as 记录条数 from sysobjects a,sysindexes b where a.id=b.id and a.xtype='u' group by a.name order by max(b.rows) desc
参考 官方文档: