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 can we encrypt and decrypt a data presented in a table using mysql?
Write a query to find duplicate rows in table?
What is the difference between a database and a table?
How set mysql root password?
How do I run mysql on a mac?
What is max_used_connections in mysql?
What is trigger in mysql?
How do I view tables in mysql workbench?
Is pdo more secure than mysqli?
How do I find users in mysql?
What is use of mysql?
Where is mysql used?
Can you tell the difference between $message and $$message?
How do you restart mysql?
How do I run mysql from command line?