批量移动分区表的各个分区

--批量移动分区表的各个分区
begin
           for x in ( select partition_name
                  from user_tab_partitions
                  where table_name = 'BIG_TABLE2' )
           loop
                  execute immediate   'alter table big_table2 move partition ' ||x.partition_name;
           end loop;
 end;     
       

创建时间:2022-04-02 15:10
浏览量:0