数据库
首页 > 数据库> > plsql之procedures、job的简单应用

plsql之procedures、job的简单应用

作者:互联网

procedures
代码:

create or replace procedure UP_EMPLOYEES as

begin

(相关sql语句)
update UP_EMPLOYEES
set xm='zhangsan'
where xh='1' 

commit;
end UP_EMPLOYEES;

job
相关
what:UP_EMPLOYEES; --定时任务的过程 
interval:trunc(sysdate,'hh')+1/(24) --执行时间每小时执行

标签:xh,plsql,--,EMPLOYEES,UP,job,procedures
来源: https://blog.csdn.net/qq_20481521/article/details/120345142