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!

insert into multiple tables using select in stored procedure

688463Nov 23 2009 — edited Jul 11 2012
I am using oracle 10g R2. I want to insert records into two tables by using select query (insert into tablename select ...) in a stored procedure. How can i insert records into two table at same time using one select statement?

My second question is also related to first one... can i use clustering mechanism here because both tables are based on same structure and data? One contains 24hrs data and one has 10 days records.

Thanks.
This post has been answered by Girish Sharma on Nov 23 2009
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 8 2012
Added on Nov 23 2009
10 comments
5,100 views