mysql 備份表的一個方法

#--- start # 新建表 create table sp2_match_comment_tmp like sp2_match_comment; # 這種方式 外鍵索引,觸發器不會在新表中有,要本身添加 LOCK TABLES sp2_match_comment write, sp2_match_comment AS smc2 read, sp2_match_comment_tmp w
相關文章
相關標籤/搜索