Thursday, February 27, 2014

EXCHANGE PARTITION TABLE

EXCHANGE PARTITION TABLE :-

ALTER TABLE ORIGINAL_TABLE
EXCHANGE PARTITION TEMP_TABLE_PARTITION_NAME
WITH TABLE TEMP_TABLE
WITHOUT VALIDATION  UPDATE GLOBAL INDEXES;  

ALTER TABLE WC_TEST_TMP_FS
EXCHANGE PARTITION PERIOD
WITH TABLE  WC_TEST_TMP1_FS
INCLUDING INDEXES
WITHOUT VALIDATION;

No comments:

Post a Comment

Data engineering Interview Questions

1)  What all challenges you have faced and how did you overcome from it? Ans:- Challenges Faced and Overcome As a hypothetical Spark develop...