Programación en castellano
Inicio > Foros > Oracle > Error en Trigger
-Foros de debate

Oracle
Lista de foros | Lista de mensajes de este foro

Privacidad: Recuerde que la información escrita en los foros de programación es 100% pública y que su ip será registrada asociada a su mensaje. Si encuentra un mensaje fuera de lugar, por favor, notifiquelo para su revisión y eliminación.

Error en Trigger
Enviado por Sr. X el día 10 de abril de 2008

Create or Replace Trigger SIGRADD.Insertar_Peticionario
After Insert
on SIGRADD.PERSONAL
Referencing new as NEW
For each Row
begin
if (:NEW.CCATEGORIA in (\'MG\',\'JS\')) then
insert into SIGRADD.PERSONAL_PETICIONARIOS (CPERSONAL, cpeticionario)
values (:NEW.CPERSONAL, 00001);
end if;

if (:NEW.CCATEGORIA in (\'RA\')) then
insert into SIGRADD.PERSONAL_PETICIONARIOS (CPERSONAL, cpeticionario)
values (:NEW.CPERSONAL, 000228);
end if;
end;Create or Replace Trigger SIGRADD.Insertar_Peticionario
After Insert
on SIGRADD.PERSONAL
Referencing new as NEW
For each Row
begin
if (:NEW.CCATEGORIA in (\'MG\',\'JS\')) then
insert into SIGRADD.PERSONAL_PETICIONARIOS (CPERSONAL, cpeticionario)
values (:NEW.CPERSONAL, 00001);
end if;

if (:NEW.CCATEGORIA in (\'RA\')) then
insert into SIGRADD.PERSONAL_PETICIONARIOS (CPERSONAL, cpeticionario)
values (:NEW.CPERSONAL, 000228);
end if;
end;

 

Tienda
Patrocinados
 

Copyright © 1999-2007 Programación en castellano. Todos los derechos reservados.
Formulario de Contacto - Datos legales - Publicidad
Mantenida por: Claudio y Dani.

Hospedaje web y servidores dedicados linux por Ferca Network

red internet: musica mp3 | amor | hospedaje web linux | registro de dominios | servidores dedicados
más internet: comprar | gratis | posicionamiento en buscadores | decoración libre | gifs animados