标签:style blog color io for 数据 div sp log
mysql数据库表自增ID批量清零 AUTO_INCREMENT = 0
#将数据库表自增ID批量清零
SELECT CONCAT( ‘ALTER TABLE ‘, TABLE_NAME, ‘ AUTO_INCREMENT = 0;‘ ) FROM information_schema.tables WHERE table_schema = ‘DBNAME‘ LIMIT 0 , 10000;
mysql数据库表自增ID批量清零 AUTO_INCREMENT = 0
标签:style blog color io for 数据 div sp log
原文地址:http://www.cnblogs.com/afish/p/3971029.html