I've done this in following ways:
- Help of Oracle data pump (expdp/impdp) utility with option
PARTITION_OPTIONS=merge
. - And
ALTER TABLE t1 MERGE PARTITIONS p01 TO p04 INTO p0;
(Here I merged successfully but all stored in one partitioned which I don't want in that way.) - Create a temporary copy of table along with data, drop the original table and rename the temp table name into the original. (This approach may not good for huge data)
But here all I want to know, Is there any way to achieve this from SQL>
Prompt with oneliner command /statement? So, the data could be stored in table/tablespace without any partitioning things.