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: Permission to TRUNCATE table

Re: Permission to TRUNCATE table

From: Brian Peasland <dba_at_remove_spam.peasland.com>
Date: Wed, 22 Oct 2003 12:51:42 GMT
Message-ID: <3F967D5E.7FEF64AE@remove_spam.peasland.com>


TRUNCATE is not a DML command. Therefore, a DML privilege like DELETE will not suffice. TRUNCATE is a DDL command. IIRC, one needs the ability to DROP that table to be able to truncate it.

HTH,
Brian

Elmo wrote:
>
> I have set up a ROLE and assigned permissions to INSERT, SELECT,
> DELETE, and UPDATE tables to that ROLE.
>
> I have a user with that ROLE.
>
> The user cannot TRUNCATE TABLE_NAME but can DELETE FROM TABLE_NAME.
>
> What permission/rights needs to be granted in order to TRUNCATE the
> table?
>
> Anyone with a clue? I'm fresh out.

-- 
===================================================================

Brian Peasland
dba_at_remove_spam.peasland.com

Remove the "remove_spam." from the email address to email me.


"I can give it to you cheap, quick, and good. Now pick two out of
 the three"
Received on Wed Oct 22 2003 - 07:51:42 CDT

Original text of this message

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