Page 1 of 1

The INV_HISTORY table is created using the command:The following data has been inserted into the INV_HISTORY table:You w

Posted: Sun Jun 11, 2023 3:49 pm
by answerhappygod
The INV_HISTORY table is created using the command:The following data has been inserted into the INV_HISTORY table:You would like to store the data belonging to the year 2006 in a single partition and issue the command:SQL> ALTER TABLE inv_history -MERGE PARTITIONS -FOR(TO_DATE('15-feb-2006','dd-mon-yyyy')),FOR(TO_DATE('15-apr-2006'))INTO PARTITION sys_py;What would be the outcome of this command?
The Inv History 1
The Inv History 1 (67.5 KiB) Viewed 273 times
The Inv History 2
The Inv History 2 (56.83 KiB) Viewed 273 times
A. It executes successfully, and the transition point is set to '1-apr-2006'.
B. It executes successfully, and the transition point is set to '15-apr-2006'.
C. It produces an error because the partitions specified for merging are not adjacent.
D. It produces an error because the date values specified in the merge do not match the date values stored in the table.