sp_help "userinfor"
alter table userinfor
alter column id identity(100000,1)
服务器: 消息 156,级别 15,状态 1,行 3
在关键字 'identity' 附近有语法错误。
求解.谢谢!

解决方案 »

  1.   

    通过alter table userinfor add id int IDENTITY(100000,1)和
    alter table userinfor drop id,应该不能直接alter
      

  2.   

    alter table ww add  id int identity(100000,1)
      

  3.   

    。你這2句都是錯的   alter table userinfor
    alter column id identity(100000,1)
       alter 的用法你都還沒搞清楚哦
      

  4.   

    identity屬性只能在列定議時添加
      

  5.   

    若要給表
      加欄位
               alter table tab1 add  col  type 屬性
      刪欄位
               alter table tab1 drop col
      

  6.   

    alter table userinfor
    alter column id <这里缺数据类型> identity(100000,1)