sqlServer中给表添加主键的sql:
alter table market_media_medical_history alter column pk_id bigint not null;
alter table market_media_medical_history add constraint PK_market_media_medical_history primary key(pk_id);
sqlServer中给表添加主键的sql:
alter table market_media_medical_history alter column pk_id bigint not null;
alter table market_media_medical_history add constraint PK_market_media_medical_history primary key(pk_id);