How can we change the name and data type of a column of a
table?
Answer Posted / m. ravindar
To Change Name of Column:
Sy: Alter Table <Table Name> Change <Old ColumnName> <New
ColumnName>;
Ex: Alter Table Test Change EmpId EID varchar(5);
| Is This Answer Correct ? | 17 Yes | 19 No |
Post New Answer View All Answers
How do I run mysql?
What are the features of mysql?
Can mysql and mariadb coexist?
Why mongodb is faster than mysql?
Why use stored procedures in mysql?
Explain csv tables.
What is the data type for image?
How do you say mysql?
Is mysql a dbms?
What are the mysql database files stored in system ?
What is mysqli_free_result?
How to load data files into tables with 'mysqlimport'?
How to dump a table to a file with 'mysqldump'?
What is mysql slow query?
What are the non-standard sql commands supported by 'mysql'?