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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Why Oracle don't have AUTO_INCREMENT as in MySQL

Re: Why Oracle don't have AUTO_INCREMENT as in MySQL

From: Galen Boyer <galen_boyer_at_yahoo.com>
Date: 14 Apr 2007 20:44:06 -0500
Message-ID: <uwt0egrom.fsf@rcn.com>


On Sat, 14 Apr 2007, damorgan_at_psoug.org wrote:
> howa wrote:

>> Seems AUTO_INCREMENT is very handy and natural, anyone agree?

Has its merit. I like the way sequences are not tied to a single table. Gives one much more flexibility.

> No. Autoincrement is a brain-damaged way of creating surrogate
> keys.

And what, may I ask, is the non-brain damaged way of using sequences?

-- 
Galen Boyer
Received on Sat Apr 14 2007 - 20:44:06 CDT

Original text of this message

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