Select * Into new_table_name from old_table_name

表的主键在新表不会声明出来

之后跑游标进行删除操作delete from 

new_table_name WHERE CURRENT OF 游标名,就会报“消息 16929,级别 16,状态 1 游标是只读的” ,参考:http://support.microsoft.com/kb/158773/zh-cn

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-09
  • 2021-10-25
  • 2022-12-23
  • 2022-03-02
  • 2021-09-20
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-01
  • 2022-02-05
  • 2021-10-08
  • 2022-03-02
相关资源
相似解决方案