首先用控制台输出一个txt文件
sqlserver大量插入数据耗时短

bulk insert course --course 表名
from ‘D:\1.txt’ --文件绝对路径
with
(fieldterminator=’&’,–以什么分割 用我的默认不用改
rowterminator=’\n’) --以什么结尾 默认不用改
–表结构
create table course(
[SID] int,
CclassName int,
Coueaid int );

sqlserver大量插入数据耗时短

相关文章:

  • 2021-05-21
  • 2021-05-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-12
  • 2021-04-30
猜你喜欢
  • 2021-08-08
  • 2022-12-23
  • 2022-12-23
  • 2021-06-15
  • 2021-07-27
  • 2022-12-23
相关资源
相似解决方案