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

Home -> Community -> Usenet -> c.d.o.server -> Re: Grant select on all tables of other user

Re: Grant select on all tables of other user

From: Andy Hassall <andy_at_andyh.co.uk>
Date: Sat, 02 Apr 2005 23:17:20 +0100
Message-ID: <r56u4197vcnu3me4uucnepp1fknah9l0gj@4ax.com>


On Sat, 02 Apr 2005 11:42:20 -0800, DA Morgan <damorgan_at_x.washington.edu> wrote:

>> You cannot perform an object grant in a DDL-trigger (at least not in
>> Oracle 8, maybe it changed in a later version).
>
>Not in any version with any trigger type.

 See: http://asktom.oracle.com/~tkyte/autonomous/

 Scroll down to the "Performing DDL in triggers" for methods that'll work on any current version. In short: autonomous transactions, or DBMS_JOB - to get the DDL (which would try to commit) outside the trigger's transaction.

-- 
Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Received on Sat Apr 02 2005 - 16:17:20 CST

Original text of this message

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