How to rename a column in an existing table?
Answer / Sulabh Trivedi
To rename a column in an existing table, you can use the ALTER TABLE statement. Here's an example:nn`ALTER TABLE existing_table RENAME COLUMN old_column_name TO new_column_name;`
| Is This Answer Correct ? | 0 Yes | 0 No |
what is the use of rank function?
How to convert the date format from dd/mm/yyyy to mm/dd/yyyy. (for eg). 22/05/2008 to 05/22/2008. when u use to_char(), it tells the month is invalid. how to resolve this problem.tel with eg.
What is STATSPACK tool?
Can we write dml statement in function in oracle?
What is an Oracle Instance?
What is SQL Tuning Advisor in Oracle?
What is recovery manager in Oracle?
Explain the difference between a procedure and a function? What do you understand by those terms?
What is oracle rownum?
What is a Private Synonyms ?
Explain the use of owner option in exp command.
10)In an RDBMS, the information content of a table does not depend on the order of the rows and columns. Is this statement Correct? A)Yes B)No C)Depends on the data being stored D)Only for 2-dimensional tables