Skip to Main Content

SQL & PL/SQL

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!

How to create a duplicate table?

440643May 3 2006 — edited May 3 2006
How do create a table that is identical in structure to an existing table but contains no data?
If I use "create table table2 as (select * from table1)" then the new table2 is identical to table1 including all the rows.
xyz
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 31 2006
Added on May 3 2006
2 comments
398 views