Truncate execution [message #345698] |
Thu, 04 September 2008 09:26 |
callimaco0082
Messages: 18 Registered: March 2008
|
Junior Member |
|
|
Hi all,
my problem is the following:
I have a PL/SQL procedure in a schema which does some operations and one of them fails; this one is:
execute immediate 'truncate table OTHERSCHEMA.MYTABLE'
the table I want to truncate is in another schema and i can't move the procedure to that one. How to execute the command from my actual schema?
Thanks to all will help.
|
|
|
Re: Truncate execution [message #345701 is a reply to message #345698] |
Thu, 04 September 2008 09:32 |
JRowbottom
Messages: 5933 Registered: June 2006 Location: Sunny North Yorkshire, ho...
|
Senior Member |
|
|
You need the DROP ANY TABLE privilege, and that's on you don't hand out without thinking about it quite carefully.
|
|
|
|
|
|
|