Exam 1z0-082 All QuestionsBrowse all questions from this exam
Question 157

You issued this command:

DROP TABLE hr.employees;

Which three statements are true? (Choose three.)

    Correct Answer: A, C, E

    When the HR.EMPLOYEES table is dropped, all indexes defined on the table are dropped as well since they are dependencies of the table. The table may be moved to the recycle bin, particularly in Oracle 10g and later, unless the recycling feature is disabled or the PURGE option is used. All constraints on HR.EMPLOYEES are also dropped since they are tied to the table structure. Synonyms, sequences, and views are independent objects and are not dropped when the HR.EMPLOYEES table is dropped.

Discussion
sobrinhoOptions: ACE

Correct answers: A. All indexes defined on HR.EMPLOYEES are dropped C. The HR.EMPLOYEES table may be moved to the recycle bin. E. All constraints defined on HR.EMPLOYEES are dropped.

it6567306Options: ACE

Reason for option C being correct: C. The HR.EMPLOYEES table may be moved to the recycle bin: In Oracle 10g and later versions, when a DROP TABLE statement is executed, the table may not be immediately deleted but instead moved to the recycle bin. This allows for the possibility of restoring the table from the recycle bin if it was dropped by mistake. However, if the recycle bin is disabled or the PURGE clause is used, the table is completely deleted.

it6567306

D. Sequences used to populate columns in the HR.EMPLOYEES table are not dropped. Sequences are independent objects from tables, and dropping a table does not delete the associated sequences.