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!

Inserting into fact table

SmileOct 18 2012 — edited Oct 18 2012
Hi Team,
What is the best way to insert into FACT table using DIM tables.
In my requirement we are inserting in the following way.

For i in (select * from dim1 table) loop
col_val1 = dim2.col1 ;
----
coln_val1 = dimn.coln
insert into fact values (col1..... coln);
end loop;
commit;

Could you please suggest the best way to insert into the fact table

Thanks,
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 15 2012
Added on Oct 18 2012
4 comments
1,159 views