Read Using SQL Snippets before using any of this site's code or techniques on your own systems.

String to Rows

Cleanup

Run the code on this page to drop the sample tables, procedures, etc. created in earlier parts of this section. To clear session state changes (e.g. those made by SET, COLUMN, and VARIABLE commands) exit your SQL*Plus session after running these cleanup commands.

Be sure to read Using SQL Snippets before executing any of these setup steps.

drop type varchar2_varray_type ;
drop type integer_varray_type ;

drop view integer_table ;

drop table t  ;
drop table t2 ;
drop table t3 ;
drop table t5 ;
drop table t6 ;
drop table integers ;

drop function csv_to_varray     ;
drop function csv_to_varray_2   ;
drop function csv_num_to_varray ;
 
exit