pl/sql执行动态sql
SQL> declare
msql varchar2(200);
begin
loop
msql := 'select * from bfw_test';
execute immediate msql;
end loop;
end;
msql varchar2(200);
begin
loop
msql := 'select * from bfw_test';
execute immediate msql;
end loop;
end;