Gabriela Moisi <[EMAIL PROTECTED]> wrote:
> Do you plan to include in future MySQL release command like
>
> REBUILD AUTOINCREMENT field_name ...?
>
> (to rebuild auto_increment field, useful after masive delete, to start
> again from 1)
For MyISAM table you can do it with ALTER TABLE statement
ALTER TABLE table_name AUTO_INCREMENT=1;
http://dev.mysql.com/doc/mysql/en/ALTER_TABLE.html
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Egor Egorov
/ /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED]
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
<___/ www.mysql.com
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]