交换表名:
insert into a_tmp有
a_cur无 rename to b_cur无
a_tmp有 rename to a_cur有
b_cur无 rename to a_tmp无
truncate table a_tmp无变无
insert into a_tmp 无变有
a_cur有 rename to b_cur有
a_tmp有 rename to a_cur有
b_cur有 rename to a_tmp有
truncate table a_tmp有变无
insert into a_tmp无变有
a_cur有 rename to b_cur有
a_tmp有 rename to a_cur有
b_cur有 rename to a_tmp有
truncate table a_tmp有变无
交换表名
最新推荐文章于 2024-06-12 18:23:20 发布