How to rename column in MySQL???
Moderator: General Moderators
How to rename column in MySQL???
Hi everyone, I need to rename a MySQL column. I searched in many forums, but nothing. Can anyone help me? Thanks in advance.
Code: Select all
ALTER TABLE `YourTableName` CHANGE `OldColumnName` `NewColumnName` VARCHAR(20) DEFAULT NULL