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
What is longblob in mysql?
How do I restore a mysql database dump file in linux?
What is bigint in mysql?
what is the difference between gui testing and database testing? : Mysql dba
How can I see connections in mysql?
Why do we use group by and order by function in mysql?
What is the phantom problem?
How do I start mysql client?
Which is faster mysql or mongodb?
Write a command with which mysql table can be repaired
How do I check mysql version?
How do I find users in mysql?
Explain about reporting services of MYSQL?
What are the difference between and myisam and innodb?
How do you login to MySql using Unix shell?