--重命名表
rename table t_softwareport to software_port;

--建立外键
alter table software_port add constraint fk_software_port_softwareprocessid foreign key (softwareprocessid)
      references software_process (id) on delete restrict on update restrict;

--删除列
alter table software_type
drop column upid,
drop column orderid;

--修改列名
alter table software_process change  software_id  softwareid  int(11) not null;

相关文章:

  • 2022-03-10
  • 2022-03-06
  • 2021-07-19
  • 2022-12-23
  • 2022-02-05
  • 2022-01-04
  • 2021-08-25
  • 2022-12-23
猜你喜欢
  • 2021-11-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-21
  • 2022-01-04
  • 2022-03-06
相关资源
相似解决方案