Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

oracle swap partition

-- 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
*/
 
PREVIOUS NEXT
Tagged: #oracle #swap #partition
ADD COMMENT
Topic
Name
4+8 =