How can we change the name and data type of a column of a
table?
Answer Posted / abhishek
ALTER TABLE `<tablename>` CHANGE `<old column>` `<new
column>` new datatype( length )
| Is This Answer Correct ? | 5 Yes | 15 No |
Post New Answer View All Answers
What is cast in mysql?
What is the hostname for mysql database?
How do I fix a crashed mysql database?
How does mysql clustering work?
How to rename an existing column in a table?
What is view in mysql?
What is the purpose of mysql database?
What are the common mysql functions?
What does a TIMESTAMP do on UPDATE CURRENT_TIMESTAMP data type?
How to return query output in html format?
Is mongodb faster than mysql?
How do I show users in mysql?
How do you say mysql?
How do I select a database in mysql?
What are the similarities between a function and a procedure?