List:General Discussion« Previous MessageNext Message »
From:Egor Egorov Date:August 25 2004 4:21pm
Subject:Re: How to Reset a field
View as plain text  
"Yusdaniel Rodriguez Espinosa" <yusda@stripped> wrote:

> I have a db with table "usuarios" I erased all data in this table but "Id"
> is a autoinc and he have the value of the last value.
> 
> How I can Reset the field "ID"

See http://dev.mysql.com/doc/mysql/en/ALTER_TABLE.html at the very end.





-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   Egor.Egorov@stripped
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com



Thread
Re-installing db/tables from dumpfileJoseph E. Maxwell21 Aug
  • Re: Re-installing db/tables from dumpfileEgor Egorov23 Aug
  • How to Reset a fieldYusdaniel Rodriguez Espinosa23 Aug
    • Re: How to Reset a fieldEgor Egorov25 Aug
RE: How to Reset a fieldVictor Pendleton23 Aug
  • Re: How to Reset a fieldV. M. Brasseur23 Aug
  • Re: How to Reset a fieldEWA Goodson-Wickes23 Aug