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 the difference between mysql_fetch_array() and ysql_fetch_object() ?
Does mysql use sql?
How to start mysql server?
How can you see all indexes defined for a table?
What is mysqli_free_result?
What is mysql cursor?
How do I restore a database in mysql workbench?
What is a deterministic function?
What are triggers in mysql?
How to convert dates to character strings?
Why mysql is used with php?
What is the maximum no of columns a table can have?
How MySQL Optimizes DISTINCT?
What is meant by sharding?
What is a query in mysql?