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 Symbol use for Inner Join
Describe the P2P cycle ?
Hi, I want to know basic information about Oracle HRMS and the institutes in hyderabad or the best faculty as i want to make my career in it.And also want to know may a person from non technical background be able to do this course. Regards, Swetha
When a user process fails, what background process cleans up after it?
What is the difference between the SQL*Loader and IMPORT utilities?
why r u using etl tool.
How would you determine the time zone under which a database was operating?
3. Steps in UAT?
Is it possible to drop a column in a table which contains only one column? How?
which one is currently in used software cmpanies.
What is the Query Optimizer. How you optimize your qeury.
HOW SHALL WE DIFFERENTIATE BETWEEN PRIMARY KEY AND FORIEGN KEY?