Unassign Role : Role « User Previliege « Oracle PL / SQL






Unassign Role

   
SQL>
SQL> CREATE USER Alice IDENTIFIED BY simplepassword;

User created.

SQL>
SQL> GRANT CONNECT, RESOURCE to Alice;

Grant succeeded.

SQL>
SQL> REVOKE RESOURCE FROM Alice;

Revoke succeeded.

SQL>
SQL> drop user alice;

User dropped.

SQL>
SQL>
SQL>

   
    
    
  








Related examples in the same category

1.Creating a Role
2.define a role as a global role, which means that a user can only be authorized to use the role by an enterprise directory service.
3.use a password when a role is authorized by the database
4.Assign CONNECT and RESOURCE Roles
5.Assign Role to User
6.Drop Role
7.Get two database users and show their roles.
8.Output session roles from procedure
9.Grant Permissions to Role