create table aa
(
  自动编号  int not null identiy
)

解决方案 »

  1.   

    create table test
    ( id int identity(1,10),
      cname varchar(100)
    )
    用identity
      

  2.   

    企业管理器-->右键你的表-->设计表-->选中一int类型字段-->下面有个属性叫“标识”的
      

  3.   

    create table a( id int identity(1,1) not null)
      

  4.   


    1、企业管理器-->右键你的表-->设计表-->选中一int类型字段-->下面有个属性叫“标识”的,选择“是”
    2、create table test
    ( id int identity(1,10),
      cname varchar(100)
    )