Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.
You need to allow user ANDREW to: 1. Modify the TITLE and ADDRESS columns of your CUSTOMERS table. 2. GRANT that permission to other users. Which statement will do this?
A.
GRANT UPDATE ON customers.title, customers.address TO andrew;
B.
GRANT UPDATE (title, address) ON customers TO andrew;
C.
GRANT UPDATE (title, address) ON customers TO andrew WITH GRANT OPTION;
D.
GRANT UPDATE ON customers.title, customers.address TO andrew WITH ADMIN OPTION;
E.
GRANT UPDATE ON customers.title, customers.address TO andrew WITH GRANT OPTION;
F.
GRANT UPDATE (title, address) ON customers TO andrew WITH ADMIN OPTION;
Whats the difference between C & E ?
C. GRANT UPDATE (title, address) ON customers TO andrew WITH GRANT OPTION;
E. GRANT UPDATE ON customers.title, customers.address TO andrew WITH GRANT OPTION;
C is correct!
WITH GRANT OPTION
now the user ANDREW can give grants to other users.
GRANT UPDATE(TITLE) ON CUSTOMERS TO HR;
If REVOKE UPDATE(TITLE,ADDRESS) ON CUSTOMERS FROM ANDREW
is executed then eventually HR will also lose the grants.
C is correct.
The owner of an object can grant it to another user by specifying the WITH GRANT OPTION clause in the GRANT statement. In this case, the new grantee can then grant the same level of access to other users or roles. Here are three points to keep in mind about the WITH GRANT OPTION clause:
https://www.oreilly.com/library/view/oracle-database-administration/1565925165/ch06s01s05s01.html#:~:text=The%20owner%20of%20an%20object,to%20other%20users%20or%20roles.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
nejak
Highly Voted 1 year, 6 months agoMIGHTYSTUNNERS
Most Recent 1 week, 1 day agoNSilva
2 weeks agoLee_jong_suk
5 months agoChandra1104
1 year, 1 month agotawa_z58
1 year, 3 months ago