osql -S 127.0.0.1 -U sa -P 123456 -i D:\Data.sql

 

注意:

1. 如果 Data.sql 文件是从数据库 DB_A 中导出的,而这个 Data.sql 中的数据需要导入到数据库 DB_B 中,请注意 Data.sql 的第一行 SQL 代码应该是 use DB_A ,所以需要提前改为 use DB_B。 

2. 

 

谢谢浏览!

相关文章:

  • 2022-02-26
  • 2021-11-17
  • 2021-11-17
  • 2021-09-09
  • 2021-08-11
  • 2022-02-23
  • 2021-04-03
  • 2022-01-06
猜你喜欢
  • 2022-12-23
  • 2022-02-27
  • 2021-09-10
  • 2022-01-19
  • 2021-12-27
  • 2021-05-25
相关资源
相似解决方案