1-- ORACLE partition swap
2ALTER TABLE target_table EXCHANGE PARTITION target_partition
3WITH TABLE source_table;
4/*
5. source_table and target_table have the same structure
6 (columns, data types, respect constraints).
7. indexes have to be rebuilt
8*/