Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Why Oracle don't have AUTO_INCREMENT as in MySQL
Galen Boyer wrote:
> I was asking how sequences aren't considered brain-damaged. They are
> used to create a surrogate key just like autoincrementing columns, and
> the autoincrementing surrogate key is what I'm assuming what you mean by
> brain damaged.
Not at all. Surrogate keys have their place in the real world.
What I don't like is forced serialization of autoincrementing. What I don't like is typing the surrogate to a single object. The Oracle sequence is a far more intelligent way to solve the problem.
-- Daniel A. Morgan University of Washington damorgan_at_x.washington.edu (replace x with u to respond) Puget Sound Oracle Users Group www.psoug.orgReceived on Sat Apr 21 2007 - 14:43:40 CDT