What correction needs to be done to the above statement?

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

The user SCOTT who is the owner of ORDERS and ORDER_ITEMS 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 ORDER_ITEMS tables.

Explanation:
http://docs.oracle.com/javadb/10.8.3.0/ref/rrefsqljgrant.html



Leave a Reply 0

Your email address will not be published. Required fields are marked *