CREATE OR REPLACE TRIGGER controla_emp_dept
BEFORE INSERT OR UPDATE OR DELETE ON empregados, departamento 
IS
BEGIN
   IF INSERTING ('emp') THEN
      DBMS_OUTPUT.PUT_LINBE('INSERINDO');
   END IF;
END;
/