white knight

导航

 

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

 

alter table TABNAME drop primary key;

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

 

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

posted on 2019-03-01 11:27  white knight  阅读(2120)  评论(0编辑  收藏  举报