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: TRIGGER COMPILE problem .. looks EASY ??

Re: TRIGGER COMPILE problem .. looks EASY ??

From: Tim Sawmiller <sawmillert_at_state.mi.us>
Date: Fri, 26 Jan 2001 12:34:22 -0500
Message-Id: <10753.127610@fatcity.com>


You need to grant execute privs on SYS.INF_PRODUCT_CHECK to the user = trying to compile the trigger, or possibly create SYS.INF_PRODUCT_CHECK. = There should be a script somewhere out under $ORACLE_HOME/rdbms that = creates it. =20

>>> bruce.taneja_at_mcd.com 01/26/01 11:38AM >>>

I did a full import from 8.0.6 to 8.1.7..

Here is the trigger that fails to compile:

  1 create or replace trigger TRG.TBMDPMODBSIUD   2 before insert or update or delete on TRG.TBMDPMOD   3 declare
  4 begin
  5 sys.inf_product_check;
  6* end;
SQL> / Warning: Trigger created with compilation errors.

SQL> show errors
Errors for TRIGGER TRG.TBMDPMODBSIUD:

LINE/COL ERROR

-------- -----------------------------------------------------------------
3/1      PLS-00201: identifier 'SYS.INF_PRODUCT_CHECK' must be declared
3/1      PL/SQL: Statement ignored

SQL> --=20
Please see the official ORACLE-L FAQ: http://www.orafaq.com=20 --=20
Author:=20
  INET: bruce.taneja_at_mcd.com=20
Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Fri Jan 26 2001 - 11:34:22 CST

Original text of this message

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