如何重命名表xyz
中的列?这些栏目包括:
Manufacurerid, name, status, AI, PK, int
我想改名为manufacturerid
我try 使用PHPMyAdmin面板,但出现以下错误:
MySQL said: Documentation
#1025 - Error on rename of '.\shopping\#sql-c98_26' to '.\shopping\tblmanufacturer' (errno: 150)
如何重命名表xyz
中的列?这些栏目包括:
Manufacurerid, name, status, AI, PK, int
我想改名为manufacturerid
我try 使用PHPMyAdmin面板,但出现以下错误:
MySQL said: Documentation
#1025 - Error on rename of '.\shopping\#sql-c98_26' to '.\shopping\tblmanufacturer' (errno: 150)
独行侠离我们很近...实际上,还需要指定重命名列的数据类型.例如:
ALTER TABLE `xyz` CHANGE `manufacurerid` `manufacturerid` INT;
记得: