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
相关文章
相关标签/搜索