Re: easy db question
| From: | Angela Curtis | Date: | Tue, 03 Apr 2001 15:32:04 +0000 |
| Subject: | Re: easy db question | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-8187@lists.php.net to get a copy of this message | ||
Are you deleting them one by one? If you set a condition for the
deleting, then the auto_increment value won't go back to zero, but if
you just delete all it will.
For example, if you say:
delete from my_table where 1>0;
it won't reset the value.
But if you just say:
delete from my_table;
it should reset the value to zero.
-Angela