Re: query in trigger to another schema

From: Tony Berrington <tony.berrington_at_bt.com>
Date: Tue, 19 Mar 2002 15:13:09 +0000
Message-ID: <3C975585.8F149F28_at_bt.com>


Hi,

    the user that owns the trigger probably does not have privileges on the table auth.user.

auth needs to grant select on user to the user that owns the trigger.

News via skynet wrote:

> Hi,
>
> In a trigger in a particular schema I want to retrieve data from another
> schema AUTH. While doing this the compiler gives PLS-00201. I have to
> declare the identifier somehow. Any clues?
>
> my query in the trigger:
>
> BEGIN
> SELECT USER.NAME FROM AUTH.USER
> WHERE USER.NAME = :new.USER;
> ....
>
> END;
Received on Tue Mar 19 2002 - 16:13:09 CET

Original text of this message