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

Ads by Google

Serial Numbers

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 function next_serial_number ;
drop table serial_number_controls ;

drop package t2_api ;
drop table t2 ;
drop sequence ts ;

drop table t ;
 
exit