ocp試題解析:11g-1Z0-051-v9.02-038題
最新學訊:近期OCP認證正在報名中,因考試人員較多請盡快報名獲取最近考試時間,報名費用請聯系在線老師,甲骨文官方認證,報名從速!
我要咨詢ocp試題解析:11g-1Z0-051-v9.02-038題,完整題庫請點擊這里聯系老師咨詢了解
38. Which two statements are true regarding views? (Choose two.)
A. A simple view in which column aliases have been used cannot be updated.
B. Rows cannot be deleted through a view if the view definition contains the DISTINCT keyword.
C. Rows added through a view are deleted from the table automatically when the view is dropped.
D. The OR REPLACE option is used to change the definition of an existing view without dropping and re-creating it.
E. The WITH CHECK OPTION constraint can be used in a view definition to restrict the columns displayed through the view.
Answer: BD
試題解析:
A錯誤,簡單視圖可以執行DML操作。
B正確,包含DISTINCT關鍵字不能被修改。
C錯誤,刪除視圖不會影響視圖的基表。
D正確,使用OR REPLACE選項,可以創建一個視圖,甚至可以創建一個與已存在的視圖同名的視圖,以便替換舊版本的視圖。這意味著可以更改視圖,而不必經過刪除、重新創建對象和重新授予對象權限的過程。
E錯誤,WITH CHECK OPTION子句指定通過視圖執行的INSERT和UPDATE不能創建該視圖無法選擇的行。因此,能夠對要插入或更新的數據強制執行完整性約束條件和數據驗證檢查。而不是限制顯示的值。