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

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

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