Answers for "mysql change column settings"

SQL
0

modify column name in mysql

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

change column in mysql

#Alter is used
#alter table TableName change CurrentColumnName NewColumnName Specification(size);
alter table TableName change name firstname varchar(30);
Posted by: Guest on April-20-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language