Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Table autonumber field
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
![]() |
![]() |