How can I assign a variable dynammically in PL/SQL?
I tried something like this, which doesn't work:
declare
v_variable number := execute immediate 'select max(value) from mytable';
begin
dbms_output.put(v_variable);
end;
How could this be done?