在MySQL的一些版本(如5.0.77, for Win32 (ia32)
)我在與下面的查詢MySQL的:具有與auto_incriment柱更名麻煩
ALTER TABLE `table_name` CHANGE COLUMN `old` `new` integer auto_increment
我越來越Incorrect table definition; there can be only one auto column and it must be defined as a key
怎麼說也煩惱中省略?
可能重複的http://stackoverflow.com/questions/4002340/how-to-rename-a-table-column-in-mysql –