How can we change the name and data type of a column of a
table?
Answer Posted / ashish
o Change DataType of Column:
Sy: Alter Table <Table Name> Modify <ColumnName> <DataType>;
Ex: Alter Table Test Modify EmpId varchar(5);
| Is This Answer Correct ? | 10 Yes | 4 No |
Post New Answer View All Answers
How to check if a record exists in a mysql database php?
What is mysql root?
How do I rename a procedure?
In mysql, what is the default storage engine?
What is a scalar function?
How do I start mysql in linux?
What is max connections in mysql?
What are the steps involved in query processing?
What sql does mysql use?
write a command to view the content of the table
What is a query in mysql?
What is definer in mysql?
What is difference between inner vs self vs cross?
Define REGEXP?
How to delete a table.