Is it possible to drop a column in a table which contains only one column? How?
Answer / eshwer
No, its not possible to drop all columns.
CREATE TABLE T2(A NUMBER(2));
table T2 created.
alter table
T2
drop column
A;
Error report:
SQL Error: ORA-12983: cannot drop all columns in a table
12983. 00000 - "cannot drop all columns in a table"
*Cause: An attempt was made to drop all columns in a table.
*Action: Make sure at least one column remains in the table after
the drop column operation.
SELECT * FROM T2;
| Is This Answer Correct ? | 1 Yes | 0 No |
HOW TO SPOT AHIERARCHY?
how to write customizations in po
Explain the difference between $ORACLE_HOME and $ORACLE_BASE.
What do you mean by Oracle MEDIA RECOVERY?
difference of using cursor for loop and open,fetch,close.which one is better
When creating a user, what permissions must you grant to allow them to connect to the database?
Give two examples of how you might determine the structure of the table DEPT.
How can you enable a trace for a session?
Which is the best institute in Hyderabad to learn OBIEE and DataStage?Please tell me faculty name also
How to find 8th person record in a table? Plz mail ur answers to mak2786@gmail.com Regards Arun
Can we get the deleted Record again if the delete transaction has been committed.
how to replace not in with not exist?