Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001072

Re: [PHP] Anyway to reset MySql's AUTO_INCREMENT counter? From: Alexander Skwar (ASkwar <email protected>)
Date: 07/26/01

So sprach »elias« am 2001-07-26 um 11:43:36 +0200 :
> Can't I reset that pointer w/ deleting the table and creating it again?

Yep, DELETE FROM Table instead of dropping it.

Or did you mean w/o?

ALTER TABLE Table auto_increment=234;

Alexander Skwar

-- 
How to quote:	http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:	http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
		Uptime: 3 days 18 hours 14 minutes

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>