Answers for "mysql query to change column name"

SQL
0

change column name in mysql

ALTER TABLE tableName CHANGE `oldcolname` `newcolname` datatype(length);
Posted by: Guest on August-19-2020
-2

modify column name in tsql

sp_rename 'table_name.old_column', 'new_name', 'COLUMN';
Posted by: Guest on May-08-2020

Code answers related to "mysql query to change column name"

Code answers related to "SQL"

Browse Popular Code Answers by Language