Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: [newbie] 2 questions about granting a role to a user
Jack Wang wrote:
> Howard, > > As far as I know, the only system privilege that can not be granted to a > role is 'unlimited tablespace'. Please confirm. > > - Jack
That may or may not be true (though since the 'resource' built-in role has unlimited tablespace, I wouldn't be too sure). But it's not what caused our OP's *first* problem.
I thought I'd just answer that bit and see how he gets on before getting too worried about the second part of his question!
When I have database to hand, I'll get back to you.
Regards
HJR
> "Howard J. Rogers" <howardjr2000_at_yahoo.com.au> wrote in message > news:3f7a7f37$0$22463$afc38c87_at_news.optusnet.com.au...
> my>> >
>> > steps...
>> >
>> > SQL>connect / as sysdba;
>> > SQL>create role basic;
>> > SQL> grant create session,create table,insert any table,select any
>> > table,update any table,delete any table to basic;
>> >
>> > SQL>alter user franz default role basic
>> >
>> > alter user franz default role basic
>> > *
>> > ERRORE alla riga 1:
>> > ORA-01955: DEFAULT ROLE 'BASIC' not granted to user
> (I>> > Thanks a lot
>> > don't want every time
>> > that I create a user to specify his/her quota on the tablespace)
>> >
>> > grant unlimited tablespace to basic
>> > *
>> > ERRORE alla riga 1:
>> > ORA-01931: Impossible to grant UNLIMITED TABLESPACE to a role