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
View Code

相关文章:

  • 2022-01-24
  • 2022-12-23
  • 2022-12-23
  • 2022-02-07
  • 2021-09-05
  • 2021-12-12
  • 2022-12-23
  • 2021-12-12
猜你喜欢
  • 2022-02-08
  • 2021-08-29
  • 2021-12-03
  • 2021-07-23
  • 2022-12-23
  • 2021-07-19
  • 2022-02-15
相关资源
相似解决方案