更多“要以自身的模式创建私有同义词,用户必须拥有()系统权限。A、CREATE PRIVATE SYNONYMB、CREATE PUBLIC SYNONYMC、CREATE SYNONYMD、CREATE ANY SYNONYM”相关问题
  • 第1题:

    假设在数据库中创建了用户test,需要为其授予CREATE ANY TABLE系统权限,可以使用如下()语句。

    A.GRANT CREATE ANY TABLE test

    B.GRANT CREATE ANY TABLE TO test

    C.TAKE CREATE ANY TABLE TO test

    D.ALTER CREATE ANY TABLE TO test


    参考答案:B

  • 第2题:

    SQL中创建数据库模式应使用()语句。

    • A、CREATE SCHEMA   
    • B、CEATEE TABLE    
    • C、CREATE VIEW       
    • D、CREATE DATABASE

    正确答案:D

  • 第3题:

    当需要创建用户时,可以使用如下()语句来完成。

    • A、CREATE USER
    • B、CREATE ROLE
    • C、CREATE PROCESS
    • D、CREATE LOGIN

    正确答案:A

  • 第4题:

    以下哪项是系统权限()

    • A、CREATE TABLE
    • B、UPDATE
    • C、CREATE PROCEDURE
    • D、INDEX

    正确答案:A,C

  • 第5题:

    创建索引使用的语句是()

    • A、CREATE INDEX
    • B、CREATE SCHEMA
    • C、CREATE TABLE
    • D、CREATE VIEW

    正确答案:C

  • 第6题:

    SQL中使用()语句创建索引。

    • A、CREATE PROC
    • B、CREATE VIEW
    • C、CREATE TABLE
    • D、CREATE INDEX

    正确答案:D

  • 第7题:

    假设在数据库中创建了用户test,需要为其授予CREATE ANY TABLE系统权限,可以使用如下()语句。

    • A、GRANT CREATE ANY TABLE test
    • B、GRANT CREATE ANY TABLE TO test
    • C、TAKE CREATE ANY TABLE TO test
    • D、ALTER CREATE ANY TABLE TO test

    正确答案:B

  • 第8题:

    在Oracle中,你以SYSDBA登录,CUSTOMER表位于Mary用户方案中,下面哪条语句为数据库中的所有用户创建CUSTOMER表的同义词()。

    • A、CREATE PUBLIC SYNONYM cust ON mary.customer
    • B、CREATE PUBLIC SYNONYM cust FOR mary.customer
    • C、CREATE SYNONYM cust ON mary.customer FOR PUBLIC
    • D、不能创建CUSTOMER的公用同义词

    正确答案:B

  • 第9题:

    Mary has a view called EMP_DEPT_LOC_VU that was created based on the EMPLOYEES, DEPARTMENTS, and LOCATIONS tables. She granted SELECT privilege to Scott on this view. Which option enables Scott to eliminate the need to qualify the view with the name MARY .EMP_DEP_LOC_VU each time the view is referenced?()

    • A、Scott can create a synonym for the EMP_DEPT_LOC_VU bus using the command:   CREATE PRIVATE SYNONYM EDL_VU   FOR mary.EMP DEPT_LOC_VU;   then he can prefix the columns with this synonymn.
    • B、Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command:   CREATE SYNONYM EDL_VU   FOR mary.EMP_DEPT_LOC_VU;   then he can prefix the columns with this synonym.
    • C、Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command:   CREATE LOCAL SYNONYM EDL_VU   FOR mary.EMP DEPT_LOC_VU;   then he can prefix the columns with this synonym.
    • D、Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command:   CREATE SYNONYM EDL_VU   ON mary(EMP_DEPT_LOC_VU);   then he can prefix the columns with this synonym.
    • E、Scott cannot create a synonym because synonyms can be created only for tables.
    • F、Scott cannot create any synonym for Mary’s view. Mary should create a private ynonym for the view and grant SELECT privilege on that synonym to Scott.

    正确答案:B

  • 第10题:

    想在另一个模式中创建表,用户最少应该具有什么系统权限?()

    • A、CREATE TABLE
    • B、CREATE ANY TABLE
    • C、RESOURCE
    • D、DBA

    正确答案:B

  • 第11题:

    Mary has a view called EMP_DEPT_LOC_VU that was created based on the EMPLOYEES, DEPARTMENTS, and LOCATIONS tables. She granted SELECT privilege to Scott on this view. Which option enables Scott to eliminate the need to qualify the view with the name MARY .EMP_DEP_LOC_VU each time the view is referenced?()

    • A、Scott can create a synonym for the EMP_DEPT_LOC_VU bus using the command: CREATE PRIVATE SYNONYM EDL_VU FOR mary.EMP DEPT_LOC_VU; then he can prefix the columns with this synonymn.
    • B、Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command: CREATE SYNONYM EDL_VU FOR mary.EMP_DEPT_LOC_VU; then he can prefix the columns with this synonym.
    • C、Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command: CREATE LOCAL SYNONYM EDL_VU FOR mary.EMP DEPT_LOC_VU; then he can prefix the columns with this synonym.
    • D、Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command: CREATE SYNONYM EDL_VU ON mary(EMP_DEPT_LOC_VU); then he can prefix the columns with this synonym.
    • E、Scott cannot create a synonym because synonyms can be created only for tables.
    • F、Scott cannot create any synonym for Mary's view. Mary should create a private synonym for the view and grant SELECT privilege on that synonym to Scott.

    正确答案:B

  • 第12题:

    单选题
    您作为用户Julie执行了以下语句:CREATE.SYNONYM雇员FORsam.雇员;此语句将完成什么任务()
    A

    对用户所有的“雇员”表创建一个公用同义词

    B

    对您所有的“雇员”表创建一个私有同义词

    C

    对用户Sam所有的“雇员”表创建一个公用同义词

    D

    对用户Sam所有的“雇员”表创建一个私有同义词


    正确答案: C
    解析: 暂无解析

  • 第13题:

    当需要创建用户时,可以使用如下()语句来完成。

    A.CREATE USER

    B.CREATE ROLE

    C.CREATE PROCESS

    D.CREATE LOGIN


    参考答案:A

  • 第14题:

    在Mary的方案中已经存在“客户”表。应使用哪条语句来为所有数据库用户创建一个“客户”表的同义词()

    • A、CREATE PUBLIC SYNONYM cust ON mary.客户
    • B、CREATE PUBLIC SYNONYM cust FOR mary.客户
    • C、CREATE SYNONYM cust ON mary.客户FORPUBLIC
    • D、CREATE SYNONYM cust ON mary.客户;GRANT SELECT ON cust TO PUBLIC

    正确答案:B

  • 第15题:

    下面哪些SQL命令向名为ACCTSUPER的用户授予系统权限()

    • A、GRANT INSERT ON emp TO acctsuper
    • B、GRANT CREATE TABLE TO acctsuper
    • C、GRANT SELECT ON emp TO acctsuper
    • D、GRANT UPDATE ANY TABLE TO acctsuper
    • E、GRANT CREATE SESSION TO acctsuper

    正确答案:B,D,E

  • 第16题:

    创建模式的语句是()

    • A、create schema
    • B、create table
    • C、create view
    • D、create index

    正确答案:A

  • 第17题:

    SQL语言中使用()语句创建视图。

    • A、CREATE PROC
    • B、CREATE VIEW
    • C、CREATE TABLE
    • D、CREATE DATABASE

    正确答案:B

  • 第18题:

    可以创建视图的是()

    • A、CREATE RULE
    • B、CREATE DEFAULT
    • C、CREATE TABLE
    • D、CREATE VIEW

    正确答案:D

  • 第19题:

    User Mary has a view called EMP_DEPT_LOC_VU that was created based on the EMPLOYEES, DEPARTMENTS, and LOCATIONS tables. She has the privilege to create a public synonym, and would like to create a synonym for this view that can be used by all users of the database.Which SQL statement can Mary use to accomplish that task?()

    • A、CREATE PUBLIC SYNONYM EDL_VU ON emp_dept_loc_vu
    • B、CREATE PUBLIC SYNONYM EDL:VU FOR mary (emp_dept_loc_vu);
    • C、CREATE PUBLIC SYNONYM EDL_VU FOR emp _dept_loc_vu;
    • D、CREATE SYNONYM EDL_VU ON emp_dept_loc_vu FOR EACH USER;
    • E、CREATE SYNONYM EDL_VU FOR EACH USER ON emp_dept_loc_vu
    • F、CREATE PUBLIC SYNONYM EDL_VU ON emp_dept_loc_vu FOR ALL USERS;

    正确答案:C

  • 第20题:

    假设需要回收为用户test授予的CREATE ANY TABLE系统权限,可以使用如下()语句。

    • A、TAKE BACK CREATE ANY TABLE FROM test
    • B、REVOKE CREATE ANY TABLE FROM test
    • C、REVOKE CREATE ANY TABLE test
    • D、TAKE BACK CREATE ANY TABLE test

    正确答案:B

  • 第21题:

    You are granted the CREATE VIEW privilege. What does this allow you to do?()

    • A、Create a table view.
    • B、Create a view in any schema.
    • C、Create a view in your schema.
    • D、Create a sequence view in any schema.
    • E、Create a view that is accessible by everyone.
    • F、Create a view only of it is based on tables that you created.

    正确答案:C

  • 第22题:

    Mary has a view called EMP_DEPT_LOC_VU that was created based on the EMPLOYEES, DEPARTMENTS, and LOCATIONS tables. She granted SELECT privilege to Scott on this view. Which option enables Scott to eliminate the need to qualify the view with the name MARY.EMP_DEPT_LOC_VU each time the view is referenced?()

    • A、Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command CREATE PRIVATE SYNONYM EDL_VU FOR mary.EMP_DEPT_LOC_VU; then he can prefix the columns with this synonym.
    • B、Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command CREATE SYNONYM EDL_VU FOR mary.EMP_DEPT_LOC_VU; then he can prefix the columns with this synonym.
    • C、Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command CREATE LOCAL SYNONYM EDL_VU FOR mary.EMP_DEPT_LOC_VU; then he can prefix the columns with this synonym.
    • D、Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command CREATE SYNONYM EDL_VU ON mary(EMP_DEPT_LOC_VU); then he can prefix the columns with this synonym.
    • E、Scott cannot create a synonym because synonyms can be created only for tables.
    • F、Scott cannot create any synonym for Mary's view. Mary should create a private synonym for the view and grant SELECT privilege on that synonym to Scott.

    正确答案:B

  • 第23题:

    单选题
    Mary has a view called EMP_DEPT_LOC_VU that was created based on the EMPLOYEES,DEPARTMENTS, and LOCATIONS tables. She granted SELECT privilege to Scott on this view. Which option enables Scott to eliminate the need to qualify the view with the name MARY .EMP_DEP_LOC_VU each time the view is referenced? ()
    A

    Scott can create a synonym for the EMP_DEPT_LOC_VU bus using the command: CREATE PRIVATE SYNONYM EDL_VU FOR mary. EMP DEPT_LOC_VU; then he can prefix the columns with this synonymn.

    B

    Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command: CREATE SYNONYM EDL_VU FOR mary. EMP DEPT_LOC_VU; then he can prefix the columns with this synonym.

    C

    Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command: CREATE LOCAL SYNONYM EDL_VU FOR mary. EMP DEPT_LOC_VU; then he can prefix the columns with this synonym.

    D

    Scott cannot create a synonym because synonyms can be created only for tables.

    E

    Scott cannot create any synonym for Mary's view. Mary should create a private synonym for the view and grant SELECT privilege on that synonym to Scott.


    正确答案: B
    解析: 暂无解析