Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> PL/SQL: Clearing a Collection
10gR2
Is assigning NULL to Nested Table (to clear it) documented syntax ? or should it be the_nested_table_variable.DELETE ?
DECLARE
TYPE typ_emp_table IS TABLE OF scott.emp%ROWTYPE;
l_emp_table typ_emp_table ;
BEGIN
select * BULK COLLECT INTO l_emp_table FROM scott.emp;