Re: [PHP] database abstraction layer

[email protected] (Ashley Sheridan)
Newsgroups php.general
Message-ID <1265152750.2261.267.camel@localhost>
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
> <[email protected]>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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.