How can we change the name and data type of a column of a
table?
Answer Posted / m. ravindar
To Change DataType of Column:
Sy: Alter Table <Table Name> Modify <ColumnName> <DataType>;
Ex: Alter Table Test Modify EmpId varchar(5);
| Is This Answer Correct ? | 63 Yes | 12 No |
Post New Answer View All Answers
How do I get a list of table names in mysql?
How to concatenate two character strings?
What is the datatype of image in mysql?
What is database clustering in mysql?
Why MySQL is used?
How do I select a database in mysql workbench?
What is regex in mysql?
What is the latest version of mysql?
Who developed mysql?
How do I download mysql on my laptop?
Where is the mysql data directory?
Is mysql a free database?
What is mysql server?
How do I edit a table in mysql workbench?
Write a query to stop mysql in unix