create a timer in the location where you have to call the restricted procedure and call the restricted procedure in WHEN-TIMER-EXPIRED Procedure.
e,g.PROCEDURE CREATE_MY_TIMER IS
timer_id Timer;
BEGIN
timer_id := Find_timer('MY_TIMER');
IF NOT ID_NULL(timer_id) then
delete_timer(timer_id);
END IF;
timer_id := CREATE_TIMER('MY_TIMER', 1, NO_REPEAT);
END;
WHEN-TIMER-EXPIRED TRIGGER
DECLARE
v_CurTimer VARCHAR2(40) := Get_Application_Property(TIMER_NAME);
BEGIN
IF v_CurTimer = 'MY_TIMER' THEN
--execute your code here
END IF;
END;
[Updated on: Mon, 26 September 2005 18:32] by Moderator
Report message to a moderator