|
|

楼主 |
发表于 2007/12/17 15:55:20
|
显示全部楼层
问了顾问,没有什么好方法,可以用时钟实现
when-validate-item
------------------------------------------------------------------------
declare
timer_id timer;
begin
timer_id := create_timer('AA',1,NO_REPEAT);
--BKCTFB008时钟名称
--1000为一秒
--REPEAT Indicates that the timer should repeat upon expiration. Default.
--NO_REPEAT Indicates that the timer should not repeat upon expiration, but is to be used once only, until explicitly called again.
end;
----------------------------------------------------------------------------------------------------------------
declare
TimerName varchar2(20);
begin
TimerName :=get_application_property(TIMER_NAME);
if TimerName='AA' then
go_block('B_AA);
execute_query;
end if;
end; |
|