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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Minimal privileges to create a table

Re: Minimal privileges to create a table

From: Rachel Carmichael <carmichr_at_hotmail.com>
Date: Tue, 15 Aug 2000 17:21:11 GMT
Message-Id: <10590.114628@fatcity.com>


resource should give unlimited tablespace, so quota should not be a problem

do
select b.Grantee, b.Privilege
  from DBA_ROLE_PRIVS a, DBA_SYS_PRIVS b where a.Grantee=b.Grantee and a.Grantee='<your username>' union
select b.Grantee, b.Privilege
  from DBA_ROLE_PRIVS a, DBA_SYS_PRIVS b where a.Granted_Role=b.Grantee and a.Grantee='<your username>';

this will show you all privileges granted to that user either directly or as part of a role.

You need unlimited tablespace and create table or

create table and quota on the tablespace you are trying to create the table in... check dba_ts_quotas to see if quota has been granted

>From: John Dunn <john.dunn_at_sefas.co.uk>
>Reply-To: ORACLE-L_at_fatcity.com
>To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
>Subject: Minimal privileges to create a table
>Date: Tue, 15 Aug 2000 08:26:53 -0800
>
>What are the minimal privileges required to create a table
>
>I have a user with resource privilege but when I try to create after
>connecting as that user a table I get "insufficient privileges"
>
>John
>
>
>
>
>--
>Author: John Dunn
> INET: john.dunn_at_sefas.co.uk
>
>Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
>San Diego, California -- Public Internet access / Mailing Lists
>--------------------------------------------------------------------
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from). You may
>also send the HELP command for other information (like subscribing).



Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com Received on Tue Aug 15 2000 - 12:21:11 CDT

Original text of this message

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