1. 程式人生 > >OCP-1Z0-051-V9.02-37題

OCP-1Z0-051-V9.02-37題

37. You issued the following command to drop the PRODUCTS table:

SQL> DROP TABLE products;

What is the implication of this command? (Choose all that apply.)

A. All data along with the table structure is  deleted. 

B. The  pending transaction in the session   is  committed. 

C. All indexes on the table will remain but they are   invalidated. 

D. All views and synonyms will remain but they are   invalidated. 

E. All data in the table are  deleted but the   table structure will  remain. 

Answer: ABD 答案解析: A正確,表結構以及表中所有資料都刪除。 B正確,提交所有待定的事務處理。 C錯誤,刪除表後,在資料庫中會失去表的所有資料以及與表關聯的所有索引。 D正確,保留檢視和同義詞,但不再有效。 E錯誤,表結構以及表中所有資料都刪除。