create table t ( key number , name varchar2(5) , serial_number number ); create table t2 ( key number , name varchar2(5) , status varchar2(10) , serial_number number ); create sequence ts start with 1001 ;
|
SQL Snippets™: Tutorials for Oracle Developers
Custom Search
|
|
Serial NumbersSetupRun the code on this page in SQL*Plus to create the sample tables, data, etc. used by the examples in this section. Be sure to read Using SQL Snippets™ before executing any of these setup steps. create table t ( key number , name varchar2(5) , serial_number number ); create table t2 ( key number , name varchar2(5) , status varchar2(10) , serial_number number ); create sequence ts start with 1001 ;
Linking to SQL Snippets™To link to this page in Oracle Technology Network Forums or OraFAQ Forums cut and paste this code.
To link to this page in HTML documents or Blogger comments cut and paste this code.
To link to this page in other web sites use the following values.
|
Read Using SQL Snippets™ before using any of this site's sample code or techniques on your own systems. Ads by NSC Cards
Ads by Joe
Pay it Forward
Did the free tutorials on this site help you? Consider repaying the favour by helping others. Next time you see a discussion forum question or blog topic about something you've seen covered on SQL Snippets™ help out by posting a link to the SQL Snippets™ topic. It's easy to do. Simply cut and paste code from the Linking to SQL Snippets™ section at the bottom of this page. |
|||||||||||||||||||||||||||||||||