Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: How to make a role the default?

Re: How to make a role the default?

From: michael ringbo <mri_at_dde.dk>
Date: 1998/04/23
Message-ID: <353F3812.60A0FC3@dde.dk>#1/1

Hi,

Do like this:

ALTER USER HQDA_TOP_ADM DEFAULT ROLE HQDA_DEF_USER, HQDA_ORG_ADM; Michael Ringbo, mri_at_dde.dk

Eugene Fan wrote:

> Hello All,
>
> Sorry for this dumb question, but I forgot how to make a granted role
> the default. For example,
>
> select * from dba_role_privs
> where grantee = 'HQDA_TOP_ADM'
>
> GRANTEE GRANTED_ROLE ADM DEF
>
> ------------------------------ ------------------------------ --- ---
>
> HQDA_TOP_ADM HQDA_DEF_USER YES NO
> HQDA_TOP_ADM HQDA_ORG_ADM YES NO
>
> This needs to be:
>
> GRANTEE GRANTED_ROLE ADM DEF
>
> ------------------------------ ------------------------------ --- ---
>
> HQDA_TOP_ADM HQDA_DEF_USER YES YES
>
> HQDA_TOP_ADM HQDA_ORG_ADM YES YES
>
> ^^^
>
> I know this is kinda of RYFM, but somebody walked off with our copy
> of the Server Admin manual and the other books, like the SQL Lanquage
> Reference, weren't very helpful. Thanks in advance for any help.
>
> --
> Eugene Fan
> fane_at_hqda.army.mil
> eugenef_at_tidalwave.net
Received on Thu Apr 23 1998 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US