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!

pass table name as parameter

Sachith PereraDec 7 2015 — edited Dec 8 2015

   FOR i IN tableName.FIRST..tableName.LAST LOOP

     SELECT UOM_ID INTO varUomId

     FROM  tableName(i)

     WHERE UOM_ID = 1

    END LOOP;

---------------------------------------------------

I want to a get result from multiple tables by passing table name from an array. Pls help me

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 5 2016
Added on Dec 7 2015
9 comments
3,583 views