By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
ORA-06550: line 13, column 33:
PLS-00642: local collection types not allowed in SQL statements
ORA-06550: line 13, column 27:
PL/SQL: ORA-22905: cannot access rows from a non-nested table item
ORA-06550: line 13, column 13:
PL/SQL: SQL Statement ignored
ORA-06550: line 15, column 26:
PLS-00364: loop index variable 'I' use is invalid
ORA-06550: line 15, column 5:
PL/SQL: Statement ignored
1 rows affected
dbms_output:
23, ABC
42, DEF
ORA-06550: line 8, column 27:
PL/SQL: ORA-00942: table or view does not exist
ORA-06550: line 8, column 13:
PL/SQL: SQL Statement ignored
ORA-06550: line 10, column 26:
PLS-00364: loop index variable 'I' use is invalid
ORA-06550: line 10, column 5:
PL/SQL: Statement ignored
2 rows affected
1 rows affected
dbms_output:
23, ABC, UVW
42, DEF, XYZ