Oracle
1Z0-047 · Question #107
View the Exhibit and examine the structure of the EMP table which is not partitioned and not an index-organized table. Evaluate the following SQL statement: ALTER TABLE emp DROP COLUMN first_name…
The correct answer is B. The FIRST_NAME column would be dropped provided at least one or more columns remain in the table. D. The FIRST_NAME column can be dropped even if it is part of a composite PRIMARY KEY provided the. See the full explanation below for the reasoning.
Question
View the Exhibit and examine the structure of the EMP table which is not partitioned and not an index-organized table. Evaluate the following SQL statement:
ALTER TABLE emp DROP COLUMN first_name; Which two statements are true regarding the above command? (Choose two.)
Exhibit
Options
- AThe FIRST_NAME column would be dropped provided it does not contain any data.
- BThe FIRST_NAME column would be dropped provided at least one or more columns remain in the table.
- CThe FIRST_NAME column can be rolled back provided the SET UNUSED option is added to the above
- DThe FIRST_NAME column can be dropped even if it is part of a composite PRIMARY KEY provided the
How the community answered
(37 responses)- A8% (3)
- B70% (26)
- C22% (8)
Community Discussion
No community discussion yet for this question.
