TheEntertainer
MIS
Dear All,
I'm trying to create the following job using dbms_scheduler
I can't see anything wrong but it keeps giving the following error message:
I can't figure out why it would be giving that error. Database information below:
Thanks in Advance
I'm trying to create the following job using dbms_scheduler
Code:
begin
dbms_scheduler.create_job(
job_name => 'DEMO_JOB_SCHEDULE'
job_type => 'PLSQL_BLOCK'
job_action => 'declare x varchar2(1); begin select * into x from dual; dbms_output.put_line(x); end;'
start_date => '08/08/2006 10:50 AM'
repeat_interval => 'FREQ=DAILY'
enabled => TRUE
comments => 'Demo for job schedule.');
end;
I can't see anything wrong but it keeps giving the following error message:
Code:
ERROR at line 1:
ORA-01843: not a valid month
ORA-06512: at line 2
I can't figure out why it would be giving that error. Database information below:
Code:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
Thanks in Advance