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!

On the fly table creation with an additional column

PrafullaMay 11 2012 — edited May 11 2012
Hi Guys,

I have to create a table which should come from the another table but with an additional column like

we have to create arch_code which is based on the code table which contains the code_id,code_name,code_text but target table should contain arch_date,code_id,code_name,code_text.


Please advise how to achieve this by on the fly method

like create table arch_code AS SELECT ARCH_DATE,* FROM code;

Any suggestions are highly appreciated.


Thanks,
Prafull
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 8 2012
Added on May 11 2012
10 comments
3,203 views