-
Dbms_job.submit
Hello,
I'm trying to schedule a job but i'm having some problems.
Could you help me please ?
DECLARE
JOB NUMBER;
BEGIN
SYS.DBMS_JOB.SUBMIT (JOB,'DBMS_STATS.GATHER_SCHEMA_STATS (ownname=>''PJMC_CART'',estimate_percent=>sys.dbms_stats.auto_sample_size,granularity=>''ALL'',method_opt=>''FOR ALL COLUMNS SIZE AUTO'',degree=>sys.DBMS_STATS.DEFAULT_DEGREE,options=>''GATHER AUTO'',cascade=>TRUE)',TRUNC(SYSDATE)+16/24 ,'TRUNC(SYSDATE+1)+4/24');
COMMIT;
END;
Error: Encountered symbol "END" when expecting one of the following...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|