"Chris Boget" <[EMAIL PROTECTED]> wrote: >> > 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. >> Otherwise you should recreate the table. > > Or, if you no longer need any of the data, simply use TRUNCATE.
TRUNCATE TABLE doesn't reset auto_increment value for InnoDB tables. -- 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]