当前位置: Oracle DBA培训网-优技培训 >> 071题库 >

【071题库】最新OCP-071考试题库解析-第57题

【071题库】最新OCP-071考试题库解析-第57题

071考试是OCP考试科目的一种,由于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)

技术沙龙MORE+

标签错误:<!-- #Label# labelId=20160707140604 moduleId=1 classId=12231768634 orderby=2 fields=url,title,u_info attribute= datatypeId=22192428132 recordCount=3 pageSize= <htmlTemplate><dt><img src="/images/index_26${index}.jpg" width="100" height="62" /><a href="$url" title="${title}">${title}</a><span>${api.left(u_info,60)}</span></dt></htmlTemplate> -->
我要参加技术沙龙