#openGauss #入门 #安装 #数据库 #开源
知识来源:docs-opengauss.osinfra.cn/zh/
示例:
SELECT PKG_SERVICE.JOB_SUBMIT(NULL,'callpro_xxx();',to_date('20180101', 'yyyymmdd'),'sysdate()');
SELECT PKG_SERVICE.JOB_SUBMIT(NULL,'callpro_xxx();',to_date('20180101', 'yyyymmdd'),'sysdate() ,0/24');
CALL PKG_SERVICE.JOB_SUBMIT(NULL, 'INSERT INTO T_JOB VALUES(1); call pro_1(); call pro_2();', add_months(to_date('201701','yyyymm'),1), 'date_trunc(''day'',SYSDATE) + 1 +(8*60+30.0)/(24*60)' ,:jobid);
SELECT PKG_SERVICE.JOB_SUBMIT (101, 'insert_msg_statistic1;', sysdate, 'sysdate+3.0/24');
#openGauss #入门 #安装 #数据库 #开源