
  CREATE OR REPLACE EDITIONABLE PROCEDURE "SECURE_DML" 
IS
BEGIN
  IF TO_CHAR (SYSDATE, 'HH24:MI') NOT BETWEEN '08:00' AND '18:00'
        OR TO_CHAR (SYSDATE, 'DY') IN ('SAT', 'SUN') THEN
	RAISE_APPLICATION_ERROR (-20205, 
		'Usted podria solamente realizar cambios durante las horas de oficina normales');
  END IF;
END secure_dml;
/