sqlserver modify the primary key to auto increment


alter table tt  drop constraint  PK__BS_CAS_U__3213E83F612AD0EB ;

alter table tt drop column  id ;

alter table tt add id int PRIMARY key  identity(1,1)

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326763293&siteId=291194637