Pass Oracle Database Permissions

Source: Internet
Author: User

Oracle Database permission transfer 1. system permission transfer super administrator grants lisi the administrative permission to modify any table: SQL> grant alter any table to lisi with admin option; authorization successful. View system permissions of lisi users at www.2cto.com: SQL> select * from user_sys_privs; permission granted by lisi to any table of wangwu users: SQL grant alter any table to wangwu with admin option; authorization successful. View system permissions of wangwu users: SQL> select * from user_sys_privs; 2. Transfer object permissions (who owns and who authorizes them) create A Table A as an administrator: SQL> create table A (id int); the table has been created. Www.2cto.com grants the view permission of Table A to lisi: SQL> grant select on A to lisi with grant option; the authorization is successful. View lisi object permissions: SQL> select * from user_tab_privs; lisi users view sys. grant the permissions of Table A to the wangwu User: SQL> grant select on sys. A to wangwu; authorization successful. View wangwu object permissions: SQL> select * from user_tab_privs; Authorize wangwu users to view sys. table A permission: SQL> grant select on sys. A to wangwu with grant option; authorization successful. View wangwu object permissions at www.2cto.com: SQL> select * from user_tab_privs;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.