使用sql语句导入:   
   set    identity_insert    目标表    on   
   insert    目标表(列的列表)      --从源表导出   
   select    列的列表    from    源表      --源表和目标表的列要对应   
   set    identity_insert    目标表    off   

关键在与设置identity_insert

相关文章:

  • 2021-09-12
  • 2022-02-14
  • 2022-12-23
  • 2021-09-29
  • 2022-12-23
  • 2021-12-21
  • 2022-01-23
  • 2021-08-05
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-05-31
  • 2021-06-29
  • 2021-11-25
  • 2021-05-31
  • 2021-10-19
相关资源
相似解决方案