ITPub博客

首页 > 数据库 > Oracle > oracle ocp 19c考题,科目082考试题(20)-set unused column

oracle ocp 19c考题,科目082考试题(20)-set unused column

Oracle 作者:unix_5030 时间:2022-01-25 13:19:54 0 删除 编辑

20、choose two:

Examine the structure of the DEPARTMENTS table

Name Null? Type

------------------------

DEPARTMENT NOT NULL NUMBER(4)

DEPARTMENT_NAME NOT NULL VARCHAR2(30)

MANAGER_ID NUMBER(6)

LOCATION_ID NUMBER(4)

COUNTRY VARCHAR2(20)

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.

source : cuug


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/70010796/viewspace-2853934/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2021-11-30

  • 博文量
    36
  • 访问量
    15886