Невозможно создать таблицу с помощью pl / sql

declare
type yy is table of t12.name%type index by binary_integer;
y yy;
n number:=1;
begin
execute immediate 'create table rat1 ( name varchar2(10) )';
commit;

select name bulk collect into y from t12;
for i in (select id,name from t12)
loop
dbms_output.put_line(y(n));
n:=n+1;
end loop;
forall i in y.first..y.last
insert into rat1 values(y(i));
end;

Это дает ora-00942 . Я проверил об этом ... на каком-то веб-сайте упоминалось, что вы должны предоставить следующие привилегии ...

grant select on sys.v_$paramenter to abc

Я тоже не могу ... Может ли кто-нибудь помочь мне с этим

5
задан Yahia 22 October 2011 в 10:35
поделиться