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 is the meaning of "Modulus" and "Alignment" in a datafile. Data file might be from any database. Data file is created through unloading data from a table. So, while loading this data into my table, I need to use these keywords. Could any one can help me regarding this?
write a query to find the third maximum salary of a employee.(table:employ col name:salary)
WHAT IS CARTESIAN PRODUCT?
Explain the use of setting GLOBAL_NAMES equal to TRUE.
while creating requisitions i am unable to see the list of organisation can anyone help me out ?
what is difference between inner join & nested query or subqueries
what are the interface and api table for receipts conversion in oracle receivables? : oracle accounts receivable
Why more redos are generated when the oracle database is in begin backup mode?
Should you take the backup of Logfiles if the database is running in ARCHIVELOG mode?
Name a tablespace automatically created when you create a database.
What is the Query Optimizer. How you optimize your qeury.
Explain an ORA-01555