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 fire a query for every record in a table, pass values in a loop

907388Jan 26 2012 — edited Jan 26 2012
Hi,


For each record in a table, I want to loop through each record and then fire a query by passing acct, product and date from this table to the where clause of the query. I would have to create a pl/sql block..The output of the query I want to spool from sql developer.

I need the exact syntax please for doing this.. since i am new to Oracle. Just the template will be enough. I will fill in the query.

Any help is appreciated as always..


Regards,
hena
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 23 2012
Added on Jan 26 2012
6 comments
1,935 views