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 -> Invalid Trigger (Compiling)

Invalid Trigger (Compiling)

From: <alexneme_at_my-deja.com>
Date: Mon, 07 Jun 1999 20:43:43 GMT
Message-ID: <7jhatt$1bo$1@nnrp1.deja.com>


Hi,

When compiling The Trigger Below the sistem dont accept the Sequence :NEW tmpCodReg := :NEW.CodRegistrador;

             ***
PLS-00553: nome do conjunto de caracteres não é reconhecido

It is strange because i have an developing environment and there is no such problem

Now in the Production environment i got the PLS-00553 error message

                     Obrigado  and thanks
                                     Alexis Neme




Create Or Replace TRIGGER SITRAX.ALARME AFTER INSERT ON SITRAX.HISTORICOELEMENTOS
FOR EACH ROW
DECLARE

  ParaTrigger         Boolean;
  tmpCentral          Varchar2(10);
  tmpAlarme           Varchar2(50);
  tmpElemento         Varchar2(40);
  tmpCodReg           Char(10);
  tmpIdRegistro       Integer;

  Cursor IDReg is
    SELECT IdRegistro
	   FROM TempAlarme
	   WHERE IdRegistro = :NEW.IdRegistro;
BEGIN
  ParaTrigger := False;
  IF ParaTrigger THEN

     RETURN;
  END IF;
  tmpCodReg := :NEW.CodRegistrador;


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't. Received on Mon Jun 07 1999 - 15:43:43 CDT

Original text of this message

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