Re: How to tell if a field type is auto_increment

From: Date: Mon, 29 Jan 2007 23:20:02 +0000
Subject: Re: How to tell if a field type is auto_increment
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-43009@lists.php.net to get a copy of this message
Thanks a Million my Friend. I've been struggling with this for days now <grin> -- Regards, John L. Creed pcExpressWay Consulting ***************************************** dBASE Gold Charter Member 210 ***************************************** http://www.pcexpressway.com ***************************************** "Niel Archer" <niel@catweasel.org> wrote in message news:20070129224943.FD72.NIEL@catweasel.org... > Hi > > Try using: > SHOW COLUMNS FROM db.table LIKE 'field_name%' > > and from the returned row, check the 'Extra' column for 'auto_increment' > > Niel

« previous php.db (#43009) next »