Re: Resetting auto_increment
| From: | Daniel Brown | Date: | Tue, 14 Dec 2010 18:45:33 +0000 |
| Subject: | Re: Resetting auto_increment | ||
| References: | 1 2 3 4 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-47539@lists.php.net to get a copy of this message | ||
On Tue, Dec 14, 2010 at 13:43, Toby Hart Dyke <toby@hartdyke.com> wrote:
>
> Use 'ALTER tablename AUTO_INCREMENT=1' rather than 'UPDATE tablename
> AUTO_INCREMENT=1'.
Yeah, again, my fault. Not enough coffee on this cold (~7F)
winter's day, perhaps.
--
</Daniel P. Brown>
Network Infrastructure Manager
Documentation, Webmaster Teams
http://www.php.net/