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: Privilege to be abl to truncate another user's table

RE: Privilege to be abl to truncate another user's table

From: John Flack <JohnF_at_smdi.com>
Date: Fri, 13 Feb 2004 17:31:05 -0500
Message-ID: <91AFBA9B76078B4E8340A383EADEF1DB7EE528@syn2kex1.smdi.com>


Yes, you could grant "drop any table" and it would work, but I hate to = grant that much power to do this. So, I create a truncate procedure in = a COMMON schema that has the drop any table privilege. It does the = truncate with an EXECUTE IMMEDIATE, only if the user has the DELETE = privilege on the table. If you're interested, I'll go find the code for = the procedure.

-----Original Message-----
From: Viktor [mailto:stant_98_at_yahoo.com] Sent: Friday, February 13, 2004 3:58 PM
To: oracle-l_at_freelists.org
Subject: Privilege to be abl to truncate another user's table

Hello,
=20

Can someone help me figure out how user A can truncate table in user b = schema?
Isnt this drop any table priv? Oracle 8.1.7
=20

Thanks



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Fri Feb 13 2004 - 16:31:05 CST

Original text of this message

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