"Hassan Shaikh" <[EMAIL PROTECTED]> wrote: > Hi, > > How do I reset an AUTO_INCREMENT column? My table type is InnoDB and > the method mentioned in the manual is not applicable. I am using MySQL > 4.0.17.
If you want to start auto_increment sequence with value bigger than current counter value, you can just add dummy row and specify explicitly column value equal to needed_value-1. Then delete this row. Otherwise you should recreate the table. -- 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]