大數據就業實戰培訓 Oracle就業實戰培訓
071考試題庫之前是比較穩定的,但隨著Oracle的調整,071考試不斷的增加新的考題,增加了考試的難度,所以我們專門收集整理了這些考試,并對這些考題進行解析,希望可以對考生有幫助。
每周五晚8點,我們有免費的OCP解析公開課,地址:https://ke.qq.com/course/326223 OCP題庫交流群:1015267481,驗證ocp
-------------------------------------------------------
071考試-第57題、choose two:
Examine the structure of the DEPARTMENTS table
You execute the following command:
SQL> ALTER TABLE departments
SET UNUSED (country);
Which two statements are true?
A) A new column, COUNTRY, can be added to the DEPARTMENTS table after executing the command.
B) Indexes created on the COUNTRY column exist until the DROP UNUSED COLUMNS command is executed.
C) Unique key constraints defined on the COUNTRY column are removed.
D) Synonyms existing on the DEPARTMENTS table would have to be re-created.
E) Views created on the DEPARTMENTS table that include the COUNTRY column are automatically
modified and remain valid.
Answer:AC
(注意:列一旦被設置為 unused 以后,基于該列的約束、索引都被刪除,同時相關的視圖
被無法訪問。經過實驗,可以馬上往該表添加名字一樣的列,有關 set unsed 的知識點考題
前面也有出現過,本題一個特點就是答案 A)