加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

【Oracle 12c】最新CUUG OCP-071考试题库(57题)

发布时间:2020-12-12 13:18:22 所属栏目:百科 来源:网络整理
导读:57、(14-17) 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 DEPARTME
57、(14-17) 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)

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读