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 |
WHAT ALL DIFFERENT KIND OF FUNCTIONS AVAILABLE WHILE DESIGN UNIVERSES?
Explain the difference between ARCHIVELOG mode and NOARCHIVELOG mode and the benefits and disadvantages to each.
I am Bsc Computer Science Graduate, I have good knowledge in SQL 7.0, Can I go for Oracle APPS course please suggest me the answer
What background process refreshes materialized views?
How would you go about increasing the buffer cache hit ratio?
How to find locks exists in a table or not?
how to display last 5 letters from a name (take emp table ename )
What is the sql query to find the employee who has Nth maximum salary?
Differentiate between standard remittance and bills receivable remittance : oracle accounts receivable
How to update the simple views?give me example?if the table having 100 records and created a view on this table. if i can update the table then how to update the views
How would you force a log switch?
key flexfield structure