Hi,
I have a table and I want to alter an int field into text field. How to alter the table in MySQL?
Thanks
Hi,
You can use the following query:
alter table employees change empid empid varchar(100);
Check the tutorial Mysql Alter Column Datatype.
Check more examples of alter table statements in MySQL.
Thanks
Ads