Thanks !!
A friend of mine give an example of how to do a procedure that runs a
job:
CREATE OR REPLACE PROCEDURE lanza_job IS
jobno number;
instno number; begin
dbms_job.submit( jobno, 'SP_SOH_HAND;', TRUNC(SYSDATE) + 1/60/60/24 ,'TRUNC(SYSDATE) + 1 + 1/60/60/24 '); commit; END lanza_job;
After add the start and end date I want to ask you if this procedure is
correct.
I want the job to start today and continue runs every single day.
Thanks a lot for your help, I am learning so much been in this list.
( I hope you understand my English)
>>> [EMAIL PROTECTED] 08/22/03 07:04AM >>> Simple: TRUNC(SYSDATE) +
1 + 1/60/60/24
TRUNC(SYSDATE) is midnight
today.
+1 is midnight
tomorrow.
+1/60/60/24 is one second past
midnight - 1/60th of a minute, which is 1/60th of an hour, which is 1/24th
of a day.
|
- Making my firts job Teresita Castro
- RE: Making my firts job Stephane Faroult
- RE: Making my firts job John Flack
- Teresita Castro