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);
2024-01-05 11:10:10
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);