大數據就業實戰培訓 Oracle就業實戰培訓
071考試題庫之前是比較穩定的,但隨著Oracle的調整,071考試不斷的增加新的考題,增加了考試的難度,所以我們專門收集整理了這些考試,并對這些考題進行解析,希望可以對考生有幫助。
每周五晚8點,我們有免費的OCP解析公開課,地址:https://ke.qq.com/course/326223 OCP題庫交流群:1015267481,驗證ocp
-------------------------------------------------------
071考試-第43題、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 不能刪除某個列的數據,刪除的是行的數據)