int类型 在标识那里选择是BIT 类型 1代表TRUE; 0代表FALSE

解决方案 »

  1.   

    Acess中的“自动编号”在SQL SERVER里是标识
    --如何设置标识
    SQL SERVER企业管理器-->右键你的表-->设计表-->选中你要设置标识的字段(必须是int类型)-->下面有个属性叫“标识”的,选“是”,你可以按你的要求改一下标识种子或标识递增量,然后保存该表的设计。

    create table aa(id int identity(1,1),F1 varchar(20))

    alter table bb add id int identity(1,1)
    -------------------------------------------
    “是/否”数据类型在SQLServer 中建表时bit类型。
      

  2.   

    自动编号”identity(1,1)“是/否”  bit
      

  3.   

    create table XX
    ( uid identity(1,1),
      TF  bit
    )
      

  4.   

    identity(1, 1)
    bit or check in ("是", "否")