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

Home -> Community -> Mailing Lists -> Oracle-L -> Table autonumber field

Table autonumber field

From: Mike T <mtmind_at_the-beach.net>
Date: Tue, 08 May 2001 19:47:46 -0700
Message-ID: <F001.002FD656.20010508193028@fatcity.com>

Total Newbie
I need to create an autonumber field in an Oracle Table (from a SQL server table identity field) , I was looking for a default value that I could assign (select max(ID) + 1) or some way to create an identity field or use a trigger after insert but nothing seems to work for me. Any help would be appreciated, This field also has to be the primary Key . TIA
MT

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Mike T
  INET: mtmind_at_the-beach.net

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Tue May 08 2001 - 21:47:46 CDT

Original text of this message

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