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!
Is it possible to have the sql statement in a variable and pass it to for loop such as this? Ultimately trying to pass in sql query to a procedure and have it processed.
v_sql = "select * from table";
for x in (v_sql) loop
end loop;