nerdexam
Oracle

1Z0-047 · Question #186

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 D. The FIRST_NAME column can be dropped even if it is part of a composite PRIMARY KEY. 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

1Z0-047 question #186 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
  • CThe FIRST_NAME column can be rolled back provided the SET UNUSED option is added to the
  • DThe FIRST_NAME column can be dropped even if it is part of a composite PRIMARY KEY

How the community answered

(30 responses)
  • A
    13% (4)
  • B
    83% (25)
  • C
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-047 Practice