alter table change data type mysql code example
Example 1: change data type in mysql
ALTER TABLE table_name
CHANGE COLUMN column_name column_name datatype;
Example 2: my sql alter table
ALTER TABLE nom_table
MODIFY nom_colonne type_donnees
ALTER TABLE table_name
CHANGE COLUMN column_name column_name datatype;
ALTER TABLE nom_table
MODIFY nom_colonne type_donnees