Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

change time dbms_job

Avatar of basirana
basirana asked on
Oracle Database
16 Comments1 Solution5361 ViewsLast Modified:
Hi friend

Below is the job script that is used to run a procedure at 10:01 AM daily. I want to change the time to 10:45AM Howcan I do that. what I have to use

DECLARE
  X NUMBER;
BEGIN
  SYS.DBMS_JOB.SUBMIT
    ( job       => X
     ,what      => 'procedure_name;'
     ,next_date => to_date('26/01/2007 10:01:05','dd/mm/yyyy hh24:mi:ss')
     ,interval  => 'sysdate + 1'
     ,no_parse  => TRUE
    );
  SYS.DBMS_OUTPUT.PUT_LINE('Job Number is: ' || to_char(x));
END;
/

commit;