The user SCOTT who is the owner of ORDERS and ORDERJTEMS tab

题目
单选题
The user SCOTT who is the owner of ORDERS and ORDERJTEMS tables issues the following  GRANT command:  GRANT ALL   ON orders, order_items   TO PUBLIC;   What correction needs to be done to the above statement? ()
A

 PUBLIC should be replaced with specific usernames.

B

 ALL should be replaced with a list of specific privileges.

C

 WITH GRANT OPTION should be added to the statement.

D

 Separate GRANT statements are required for ORDERS and ORDERJTEMS tables.

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

The DBA issues this SQL command: CREATE USER scott IDENTIFIED by tiger; What privileges does the user Scott have at this point?()

A. no privileges

B. only the SELECT privilege

C. only the CONNECT privilege

D. all the privileges of a default user


参考答案:A

第2题:

Which of the following statements is used to grant user TOM and Application team APPGRP the ability to add data to table TAB1?()

A.GRANT ADD DATA ON TABLE tab1 TO GROUP tom appgrp

B.GRANT INSERT TO USER tom, GROUP appgrp ON TABLE tab1

C.GRANT INSERT ON TABLE tab1 TO USER tom, GROUP appgrp

D.GRANT ADD DATA ON TABLE tab1 TO USER appgrp, GROUP tom


参考答案:C

第3题:

在Oracle中,将scott的资源文件改为otherprofile,下列哪个是正确的?( )

A.ALTER PROFILE USER scott otherprofile

B.ALTER otherprofile USER scottPROFILE

C.ALTER USER scott PROFILE otherprofile

D.ALTER scott USER PROFILE otherprofile


正确答案:C

第4题:

The user SCOTT who is the owner of ORDERS and ORDERJTEMS tables issues the following  GRANT command:  GRANT ALL   ON orders, order_items   TO PUBLIC;   What correction needs to be done to the above statement? ()

  • A、 PUBLIC should be replaced with specific usernames.
  • B、 ALL should be replaced with a list of specific privileges.
  • C、 WITH GRANT OPTION should be added to the statement.
  • D、 Separate GRANT statements are required for ORDERS and ORDERJTEMS tables.

正确答案:D

第5题:

在Oracle中,将当前系统所有角色都授予scott,除Payroll外,下列哪个是正确的?()

A、ALTER DEFAULT ROLLE USER scott ALL EXCEPT Payroll

B、ALTER USER DEFAULT ROLLE ALL EXCEPT Payroll

C、ALTER DEFAULT ROLLE ALL EXCEPT USER scott

D、ALTER USER scott DEFAULT ROLLE ALL EXCEPT Payroll


参考答案:D

第6题:

Which data dictionary table should you query to view the object privileges granted to the user on specific columns? ()

A. USER_TAB_PRIVS_MADE

B. USER_TAB_PRIVS

C. USER_COL_PRIVS_MADE

D. USER_COL_PRIVS


参考答案:D

第7题:

在Oracle中,用ALTER将scott的口令改为hello,下列哪个是正确的?( )

A.ALTER USER scott IDENTIFIED BY hello

B.ALTER scott USER IDENTIFIED BY hello

C.ALTER USER scott IDENTIFIED AS hello

D.ALTER USER hello IDENTIFIED BY scott


正确答案:A

第8题:

You executed the following command to drop a user:DROP USER scott CASCADE;Which two statements regarding the above command are correct?()

A. All the objects of scott are moved to the Recycle Bin.

B. Any objects in the Recycle Bin belonging to scott are purged.

C. All the objects owned by scott are permanently dropped from the database.

D. All the objects of scott in the Recycle Bin must be purged before executing the DROP command.

E. Any objects in the Recycle Bin belonging to scott will not be affected by the above DROP command.


参考答案:B, C

第9题:

Which data dictionary table should you query to view the object privileges granted to the user on specific columns?()

  • A、USER_TAB_PRIVS_MADE
  • B、USER_TAB_PRIVS
  • C、USER_COL_PRIVS_MADE
  • D、USER_COL_PRIVS

正确答案:D

第10题:

Oracle11G中可以使用()数据字典视图查看有关用户和对象的权限信息。

  • A、USER_TAB_PRIVS_MADE
  • B、USER_COL_TAB_RECD
  • C、USER_COL_PRIVS_MADE
  • D、USER_TAB_PRIVS_RECD
  • E、USER_COL_PRIVS_RECD

正确答案:A,C,D,E

更多相关问题