次のクエリを実行します。
declare
i number;
begin
execute immediate 'select count(1) from someTable' returning into i;
dbms_output.put_line(i);
end;
そして、このエラーを取得します: return 句は、挿入、更新、および削除で使用する必要があります!
次のクエリを実行します。
declare
i number;
begin
execute immediate 'select count(1) from someTable' returning into i;
dbms_output.put_line(i);
end;
そして、このエラーを取得します: return 句は、挿入、更新、および削除で使用する必要があります!