change column name mysql
snippet in sql

how to alter table column name in mysql

user8632

ALTER TABLE your_table_name RENAME COLUMN original_column_name TO new_column_name;

alter column name in sql

user8756

ALTER TABLE table_name RENAME COLUMN old_name TO new_name;

change column name mysql

user7471

ALTER TABLE tableName CHANGE `oldcolname` `newcolname` datatype(length);
(you can remove the backticks if it doesn't work)

how to change column name in mysql

user7840

alter table product change price price_kg float;

rename table column name in mysql

user1272

ALTER TABLE table_name CHANGE old_column_name new_column_name datatype(length);

modify column name in tsql

user3371

sp_rename 'table_name.old_column', 'new_name', 'COLUMN';