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);

 

相关文章:

  • 2021-11-08
  • 2021-12-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-23
  • 2022-02-07
  • 2022-02-07
  • 2021-05-21
  • 2021-12-29
  • 2022-02-07
  • 2022-02-07
相关资源
相似解决方案