📜  oracle 交换分区 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:04.186000             🧑  作者: Mango

代码示例1
-- ORACLE partition swap
ALTER TABLE target_table EXCHANGE PARTITION target_partition
WITH TABLE source_table;
/*
. source_table and target_table have the same structure 
    (columns, data types, respect constraints).
. indexes have to be rebuilt
*/