Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

any way to do a CTAS to create a partitioned table?

Guess2Feb 5 2008 — edited Oct 7 2008
I am CTASing from a partitioned table. I want to copy the data to a new table that I am creating and I want the new table to be partitioned the same way.

create table new_table as
select *
from old_table

does not create a partitioned table.

I tried to do

create table new_table as
select *
from old_table
(partition by ....

syntax does not work.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 4 2008
Added on Feb 5 2008
3 comments
30,993 views