Concept of a sequence

Concept of a sequence

 

  

G's

I will try and make sense, but cannot guarantee it.

I want to have a unique incremental indentifier on records being inserted.
For every insersion there should be a column with this indentifier and as a
record is inserted this sequence to kick in and insert the it's value into
the table.

How can I relate a sequence to a table?

Am I going about it the right way?

Thanks,
Luis


This communication is intended for the addressee(s) only.
Please notify the sender if received in error. Internet email
is not to be treated as a secure means of communication.
Cheshire Constabulary monitors all Internet and email activity
and requires it is used for official communications only. Thank
you for your co-operation.

Oracle LazyDBA home page