Answer the question
In order to leave comments, you need to log in
How to run dynamic query in oracle select?
I need something like this:
begin
for group_level in (select * from group_level)
loop
execute immediate 'select :gosb from erp_trips' using group_level.gosb_id;
end loop;
end;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question