I am trying to work with the examples from (search for Manipulating Local Collections )
Since I do not have permission to create a new type I tried to use a "simplified" version namely
Unfortunately when running the above, after successfully printing the number of rows in the table I get the following error:
ERROR at line 1:
ORA-00600: internal error code, arguments: [15419], [severe error during PL/SQL execution], [], [],
ORA-06544: PL/SQL: internal error, arguments: [pfrrun.cfrbnd1()], [], [], [], [], [], [], []
ORA-06553: PLS-801: internal error [0]
Do I have to store objects in my nested table in order to take advantage of the local manipulation? Is something else wrong with my syntax here?
I am using Oracle 8.1.5.
Appereciate any help you can provide,
Thanks!
Michal
Since I do not have permission to create a new type I tried to use a "simplified" version namely
Code:
DECLARE
TYPE CourseList IS TABLE OF VARCHAR(20);
courses CourseList := CourseList('abc','def','ghi','opp');
num_rows INTEGER;
BEGIN
DBMS_OUTPUT.PUT_LINE('Number of records in table:' || courses.COUNT); -- prints number of records
SELECT COUNT(*) INTO num_rows
FROM TABLE(CAST(courses AS CourseList)) AS new;
DBMS_OUTPUT.PUT_LINE(num_rows);
END;
Unfortunately when running the above, after successfully printing the number of rows in the table I get the following error:
ERROR at line 1:
ORA-00600: internal error code, arguments: [15419], [severe error during PL/SQL execution], [], [],
ORA-06544: PL/SQL: internal error, arguments: [pfrrun.cfrbnd1()], [], [], [], [], [], [], []
ORA-06553: PLS-801: internal error [0]
Do I have to store objects in my nested table in order to take advantage of the local manipulation? Is something else wrong with my syntax here?
I am using Oracle 8.1.5.
Appereciate any help you can provide,
Thanks!
Michal