List Info

Thread: Re: Why do we avoid auto-incrementing db columns?




Re: Why do we avoid auto-incrementing db columns?
country flaguser name
France
2007-04-25 09:57:01
For instance, Interbase/Firebird provides generators, but
no
auto-increment.

---- Original Message ----
From: darrenohsidepotsinternational.com
To: developmentdrupal.org
Subject: Re: [development] Why do we avoid auto-incrementing
db
columns?
Date: Wed, 25 Apr 2007 10:28:25 -0400

>On Apr 25, 2007, at 10:15 AM, Barry Jaspan wrote:
|...]
>
>The point isn't the databases we support, it's the
databases we want 
>
>to support.
>



Re: Why do we avoid auto-incrementing db columns?
user name
2007-04-25 10:18:23
Databases that have no auto increment have other ways of implementing this.

For example, for Oracle, this is detailed here:
http://drupal.org/node/83610#comment-226203

For older discussions on sequences vs. auto increment, check these.

http://drupal.org/node/55516#comment-131319
http://drupal.org/node/55516#comment-135926
http://drupal.org/node/29730
http://lists.drupal.org/pipermail/development/2005-December/012097.html
http://drupal.org/node/3684
http://drupal.org/node/38585
--
2bits.com
http://2bits.com
Drupal development, customization and consulting.
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )