mysql修改聯合主鍵

參考 https://blog.csdn.net/BockSong/article/details/80933477.net

 

alter table TABNAME drop primary key;blog

alter table TABNAME add primary key(another_col,...);table

 

alter table TABNAME 
modify field1 varchar(30) default NULL;im

相關文章
相關標籤/搜索