Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: incrementing function in Oracle

Re: incrementing function in Oracle

From: alligatorsql.com <peter_at_fluxx.com>
Date: 6 Jul 2001 05:49:17 -0700
Message-ID: <d01b518e.0107060449.d27f109@posting.google.com>

Hello ...

you can use the sequence everytime you need it and in every field in a table. If you just want the next number then use

SELECT <sequencename>.nextval FROM DUAL;

A sequence is a table independend object.

Hope this helps

Greetings
Manfred Peter
(Alligator Company)
www.alligatorsql.com Received on Fri Jul 06 2001 - 07:49:17 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US