how to change column name in mysql
snippet in sql

how ot change name of column mysql

user2893

ALTER TABLE tableName CHANGE `oldcolname` `newcolname` datatype(length);

renaming a column in mysql

user609

ALTER TABLE tableName RENAME COLUMN "oldcolname" TO "newcolname" datatype(length);

how to change column name in mysql

user6845

alter table product change price price_kg float;

modify column name in tsql

user6191

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