ORA-03001: unimplemented feature [message #224473] |
Wed, 14 March 2007 07:12 |
mallikj2
Messages: 7 Registered: March 2007
|
Junior Member |
|
|
When Am trying
sqlstring := 'SELECT * BULK COLLECT INTO <pl/sql table type> FROM
xxxx '
EXEC_SQL(sqlstring);
Am getting ORA-03001: unimplemented feature Msg, with out the BULK COLLECT INTo the query executes well. how to overcome with this error.
|
|
|
|
|
|
Re: ORA-03001: unimplemented feature [message #224581 is a reply to message #224515] |
Wed, 14 March 2007 13:04 |
Ivan
Messages: 180 Registered: June 2000
|
Senior Member |
|
|
I haven't tested the code, but use it as a general idea:
declare
lt dbms_sql.varchar2_table;
begin
execute immediate 'select name from emp where rownum <= 10'
bulk collect into lt;
--
for i in lt.first .. lt.last
loop
dbms_output.put_line ('i=' || i || ', name = ' || lt(i));
end loop;
end;
|
|
|
|