Which four statements are true of the SQL statement?

Evaluate the SQL statement
DROP TABLE DEPT:
Which four statements are true of the SQL statement? (Choose four)

Evaluate the SQL statement
DROP TABLE DEPT:
Which four statements are true of the SQL statement? (Choose four)

A.
You cannot roll back this statement.

B.
All pending transactions are committed.

C.
All views based on the DEPT table are deleted.

D.
All indexes based on the DEPT table are dropped.

E.
All data in the table is deleted, and the table structure is also deleted.

F.
All data in the table is deleted, but the structure of the table is retained.

G.
All synonyms based on the DEPT table are deleted.

Explanation:
You cannot roll back DROP TABLE statement. All pending transactions related on this table are committed. If
the table is dropped, Oracle automatically drops any index, trigger and constraint associated with the table as
well. All data in the table is deleted, and the table structure is also deleted.
Incorrect Answers
C:. All views based on the DEPT table become invalid, but they are not deleted.
F:. All data in the table is deleted, and the table structure is also deleted. Command TRUNCATE deletes all
data in the table, but does not delete the structure of the table.
G:. All synonyms based on the DEPT table are not deleted after dropping the table.
OCP Introduction to Oracle 9i: SQL Exam Guide, Jason Couchman, p. 225
Chapter 5: Creating Oracle Database Objects



Leave a Reply 1

Your email address will not be published. Required fields are marked *