使用sql语句删除标识列属性

alter   table   a   add   xxx   int   

update   a   set   xxx=id   

alter   table   a   drop   column   id   

exec   sp_rename   'a.xxx',   'id',   'column'  

注:在查询分析器按F1,查找Alter Table,里面有全部的列语法及例子

相关文章:

  • 2021-12-12
  • 2022-12-23
  • 2022-12-23
  • 2021-05-19
  • 2021-10-11
  • 2021-08-15
  • 2022-02-21
猜你喜欢
  • 2021-12-16
  • 2022-12-23
  • 2022-03-06
  • 2021-11-30
  • 2022-12-23
  • 2021-07-27
  • 2022-12-23
相关资源
相似解决方案