alter table 表名 alter column 主键列名 主键类型 not null;
alter table 表名 add constraint 主键别名(pk_列名) primary key(主键列名);
更多推荐
SQLserver添加主键
alter table 表名 alter column 主键列名 主键类型 not null;
alter table 表名 add constraint 主键别名(pk_列名) primary key(主键列名);
更多推荐
SQLserver添加主键
发布评论