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
What is mysql database server?
How to calculate the difference between two dates?
How many columns can be used for creating Index?
Does mysql support nosql?
How many threads can mysql handle?
What ascii 31?
Does mysql use t sql?
How to define numeric 9(3) in db2 table without decimal point??
How to show all records starting with the letters 'sonia' and the phone number '9876543210'
What is the default port number of mysql?
What is sharding in mysql?
Is mysql deprecated?
What are the security alerts while using mysql?
How is data stored in mysql?
How many ways to get the current time?