CREATE OR REPLACE TRIGGER DELETE_MENUOPER
BEFORE DELETE ON OPERADOR
FOR EACH ROW
BEGIN
   DELETE FROM PROGOPER
   WHERE CDOPERADOR = :OLD.CDOPERADOR;
   DELETE FROM MENUOPER
   WHERE CDOPERADOR = :OLD.CDOPERADOR;
END;
/

-- VERSAO --
BEGIN ATUVEROBJ('DELETE_MENUOPER','4.05.054'); END;
/

