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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Equivalent of Access autonumber

Re: Equivalent of Access autonumber

From: Marin Dimitrov <marin_at_sirma.bg>
Date: Tue, 6 Jun 2000 16:24:37 +0300
Message-Id: <10520.107858@fatcity.com>


> Can Oracle have a autonumber like in Access?

create a sequence and a "before insert" trigger for that table that will insert nextval from the sequence into the desired column

hope this helps,

    Marin


"When brought to meaning, all importance becomes small, as in death, all life seems nothing. Knowing is destroyed by thinking, distilled into knowledge"

                                                 William Wharton, "Birdy"
Received on Tue Jun 06 2000 - 08:24:37 CDT

Original text of this message

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