Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


ORA-28031: maximum of string enabled roles exceeded

Answers were Sorted based on User's Feedback



ORA-28031: maximum of string enabled roles exceeded..

Answer / guest

Cause: The user attempted to enable too many roles.

Action: Enable fewer roles.

Please add more information about this Error

Is This Answer Correct ?    0 Yes 0 No

ORA-28031: maximum of string enabled roles exceeded..

Answer / cvbb

At first time you can think about max_enabled_roles
parameter but max_enabled_roles parameter has nothing to do
if you enable 148 user-defined roles.

In fact this parameter is deprecated. It is retained for
backward compatibility only. You can see this parameter
settings by,

SQL> show parameter max_enable

NAME TYPE VALUE
———————————— ——————————— ——————————
max_enabled_roles integer 150

Though this parameter is set to 150 and you have enabled 148
user defined roles but additional user-defined roles can’t
be enabled because of the actual number of roles that users
can enable is 148. So max_enabled_roles is 2 plus 148,
because each user has two additional roles, PUBLIC and the
user’s own role.

As there is limit to 148 so you have to disable fewer roles
or drop some roles and reorganize your database role policy.

You can enable or disable roles by using the SET ROLE
statement for your current session.

If you want to enable all roles except manager and clerk
role then use,

SET ROLE ALL EXCEPT manager, clerk;

Remember roles listed in the EXCEPT clause must be roles
granted directly to you. They cannot be roles granted to you
through other roles.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle Errors Interview Questions

PCC-02204: EXEC SQL INCLUDE not permitted from within an included file

1 Answers  


ORA-36646: (XSDUNION08) Only concat dimensions can be redefined as UNIQUE. workspace object is not a concat dimension.

1 Answers  


ORA-27194: skgfdvcmd: sbtcommand returned error

1 Answers  


QSM-01127: query rewritten with multiple MVs

1 Answers  


TNS-00244: Connection Manager: Request Failed

1 Answers  


ORA-06136: NETTCP: error during connection handshake

1 Answers  


PCC-02327: struct or struct pointer required

1 Answers  


ORA-00438: %s Option not installed

1 Answers  


NNC-00404: supplied buffer of size string is smaller than minimum size string

1 Answers  


RMAN-06745: skipping datafilecopy string; already backed up string time(s)

1 Answers  


ORA-01271: Unable to create new file name for file string

1 Answers  


PLS-01469: ANSI standard does not permit records

1 Answers  


Categories