发布网友
共1个回答
热心网友
create
table
(
id
int
identity(1,
1)
not
null
primary
key,
other_column
varchar(50)
)
--
对表设置主键的同时,数据库会自动的创建一个以主键作为名称的唯一索引的。