adspace
how to rename an existing column in a table? : Sql dba
Answer Posted / Rahul Anand
To rename an existing column in a MySQL table, you can use the ALTER TABLE command with the RENAME COLUMN statement. Here's an example: `ALTER TABLE your_table RENAME COLUMN old_column_name TO new_column_name`.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is inner join faster than left join?
what is schema? : Sql dba
Can delete statement be rollbacked?
Can we use distinct and group by together?
what are aggregate and scalar functions? : Sql dba
what are all the common sql function? : Sql dba
what are the advantages of sql ? : Sql dba
What is your daily office routine?
define sql insert statement ? : Sql dba
Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me
How do I remove duplicates in two columns?
how many tables will create when we create table, what are they? : Sql dba
what is bcp? When does it used? : Sql dba
If a cursor is open, how can we find in a pl/sql block?
What is the best sql course?