Oracle Grant Connect, permissions in the resource to user statement

Source: Internet
Author: User

Blogger tested on Oracle 11g R2 (test date: 2017.10.30):

Log in to Oracle with SYS and execute the following two statements:

         Select *  from WHERE  like ' CONNECT ';  -- Querying permissions         for the Connect role Select *  from WHERE  like ' RESOURCE ';  -- querying permissions for resource roles


Connect role:--is the typical right to grant the end user, the most basic

Create session--Set up sessions


Resource role:--is granted to developers

Create CLUSTER--Build a cluster
Create PROCEDURE--build process
Create SEQUENCE-Create sequence
CREATE table--Build tables
Create TRIGGER--Create a trigger
Create type--build types

Create OPERATOR--Creating a user

Create Indextype--Creating an index type

CREATE table--Creating tables

So, if you are simply querying users, you can only authorize the connect role.

Oracle Grant Connect, permissions in the resource to user statement

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.