Name

SET ROLE

Synopsis

SET ROLE {role [IDENTIFIED 

BY password] [,role [IDENTIFIED BY PASSWORD . . . ]] |
        ALL [EXCEPT role[, role . . . ]]
        NONE}

Enables one or more roles for a user or disables all roles for a user.

Keywords

ALL

Enables all roles granted to a user.

EXCEPT

Used to exclude some roles from being enabled with the ALL keyword.

NONE

Used to disable all roles for the user.

Get Oracle in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.