我已经在Oracle中创建了一个简单的过程。 伪代码如下:
CREATE OR REPLACE
procedure update_summary
begin
delete from summary table;
make different calculations from different tables, insert values row by row in
summary table;
end;
我希望这个程序每小时自动运行,因为如果我从应用程序的前端调用它,它需要很长时间,用户会认为页面已经挂起。非常感谢您的帮助。
JOB
。然而,它们比较老旧,使用“调度作业”是推荐的做法。 - Wernfried Domscheit