1. 程式人生 > >【ocp-12c】最新Oracle OCP-071考試題庫(42題)

【ocp-12c】最新Oracle OCP-071考試題庫(42題)

ora cat UNC trunc and delete table rom done

42、(9-1)choose the best answer:

Which statement is true about the Oracle SQL, DELETE and TRUNCATE statements?

A) DELETE but not TRUNCATE statement can be used to remove data from selective columns and rows of a table.

B) DELETE and TRUNCATE statements can have a rollback done to restore data into a table.

C) DELETE and TRUNCATE statements remove all indexes for the tables on which they are performed.

D) DELETE but not TRUNCATE statement can be used to selectively remove rows from a table.

Answer:D

(解析:Truncate 是刪除整張表的數據,delete 不能刪除某個列的數據,刪除的是行的數據)

【ocp-12c】最新Oracle OCP-071考試題庫(42題)