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

Home -> Community -> Usenet -> c.d.o.server -> Re: Autoincrement numeric primary key data type

Re: Autoincrement numeric primary key data type

From: Frank van Bortel <frank.van.bortel_at_gmail.com>
Date: Thu, 29 Dec 2005 20:02:55 +0100
Message-ID: <dp1b8h$2b7$1@news4.zwoll1.ov.home.nl>


Si wrote:
> What is the standard way in Oracle to have an autoincrementing integer type
> primary key data type? Does Oracle offer a built-in data type for this? Or
> should I use triggers?
>
>

Yes. Triggers.

And -as your background seems to be Sybase- buy Thomas Kyte's Expert one-on-one Oracle, read the first three chapters, read again, and then start with the Oracle concepts Manual at
http://tahiti.oracle.com

Oracle is quite a different beast; better learn how to treat it.

-- 
Regards,
Frank van Bortel

Top-posting is one way to shut me up...
Received on Thu Dec 29 2005 - 13:02:55 CST

Original text of this message

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