玖零一族的博客
很多时候,我们在创建数据库的时候,但数据库执行完毕,还要手动进入每张表里去手动设置ID为标识列,为此,我特意找了一下,发现有SQL语句可以实现上述功能。
create table tempA ( id int identity(1,1) not null primary key, name varchar(50) not null )
Copyright © 2017-2025 www.5msg.cn 玖零一族 版权所有 浙ICP备17018905号-2