|Oracle® Database SQL Language Reference
11g Release 2 (11.2)
|PDF · Mobi · ePub|
ROLE statement to remove a role from the database. When you drop a role, Oracle Database revokes it from all users and roles to whom it has been granted and removes it from the database. User sessions in which the role is already enabled are not affected. However, no new user session can enable the role after it is dropped.
You must have been granted the role with the
OPTION or you must have the
ROLE system privilege.
Specify the name of the role to be dropped.
Dropping a Role: Example To drop the role
dw_manager, which was created in "Creating a Role: Example", issue the following statement:
DROP ROLE dw_manager;