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 many columns is too many mysql?
What is the use of mysqli_num_rows?
What does mysqli_fetch_assoc do?
What are the common mysql functions?
What is offset limit?
What causes mysql too many connections?
what is database black box testing? : Mysql dba
How to create a table index in mysql?
Where is the mysql config file?
What is the use of i-am-a-dummy flag in mysql?
What is the difference between truncate and delete?
Can I install mysql on mac?
How do I edit a table in mysql?
How do I fix a crashed mysql database?
What is mysql aggregate functions? Explain