How can we change the name of a column of a table?
Answer Posted / chandrakant agrawal
ALTER TABLE <owner_name.tab_name> RENAME COLUMN <old_name>
TO <new_name>;
We can also modify the datatype,size of the column using
command alter table
| Is This Answer Correct ? | 1 Yes | 6 No |
Post New Answer View All Answers
How can I connect mysql database?
What is difference between mysql_connect and mysql_pconnect?
What are stored procedures and functions?
What is query log in mysql?
What is a user defined variable?
What does mysql flush tables do?
how to take mysql database backup?
What is 'mysqld'?
Can you tell what are various ways to create an index?
Is mysql a backend?
Write a query to fetch common records between two tables using mysql?
Is the syntax correct? Explain the meaning of the syntax given below: $dbc = mysqli_connect('data.aliensabductedme.com', 'owen', 'aliensrool', 'aliendatabase');
What is clob in mysql
What is the difference between float and double?
How many mysql connections can handle?