Is it possible to drop a column in a table which contains only one column? How?
Answer Posted / 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 |
Post New Answer View All Answers
i want to know about the javaBean.what is its purpose and how it can use in Forms.
HOW TO GET THE ORGANIZATION TO ORGANIZATION DETAILS INFORMATION IN THE INVENTORY MODULE.THE REQUIREMENT IS FROMORG TOORG FROMINV TOINV ..
IS IT POSSIBLE TO CREATE REPORTS FROM DIFFERENT UNIVERSES IN ONE DOCUMENT?
WHAT ARE TEMPLATES?EXPLAIN WHAT YOU HAVE CREATED?
Why more redos are generated when the oracle database is in begin backup mode?
3. Steps in UAT?
Differentiate between earned discounts and unearned discounts? : oracle accounts receivable
as a technical developer in oracle applications which type errors feced in your experience sofar
What is an Oracle database Partial Backup?
What is an Oracle database Full Backup?
what is difference between inner join & nested query or subqueries
Explain the use of table functions.
Explain the difference between $ORACLE_HOME and $ORACLE_BASE.
Difference between negative and positive adjustments : oracle accounts receivable
Explain prerequisites and post activities of oracle database installation