Re: database abstraction layer
| From: | Ashley Sheridan | Date: | Tue, 02 Feb 2010 23:19:10 +0000 |
| Subject: | Re: database abstraction layer | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-301759@lists.php.net to get a copy of this message | ||
On Wed, 2010-02-03 at 00:21 +0100, Rene Veerman wrote:
> the auto_increment sytnax is not uniform across servers, is it?
>
> On Wed, Feb 3, 2010 at 12:11 AM, Ashley Sheridan
> <ash@ashleysheridan.co.uk>wrote:
>
> > I saw it happen on a site that was getting only about 3000 hits a day. It
> > just takes the right combination of circumstances and it all goes pear
> > shaped. You really should get out of the habit of doing it.
> >
It is a MySQL only function. MSSQL has @@IDENTITY, not sure how other
engines implement it.
Thanks,
Ash
http://www.ashleysheridan.co.uk