R rakgol_a Member² Aug 26, 2002 #1 How does one create a Oracle Jobs using DOA C++ Builder. Example, I want to schedule stored procedure with two parameters. SP_MYPROC(X number, Y number); Above code exmaple???
How does one create a Oracle Jobs using DOA C++ Builder. Example, I want to schedule stored procedure with two parameters. SP_MYPROC(X number, Y number); Above code exmaple???
Marco Kalter Administrator Staff member Aug 26, 2002 #1 The following code will schedule your procedure every other day, starting tomorrow. The parameter values are 2 and 100 for X and Y. Code: { int Job; MainSession->DBMS_Job->Submit(Job, "sp_myproc(2, 100);", Date() + 1, "sysdate + 2", false); ShowMessage("Job = " + IntToStr(Job)); } Click to expand... ------------------ Marco Kalter Allround Automations
The following code will schedule your procedure every other day, starting tomorrow. The parameter values are 2 and 100 for X and Y. Code: { int Job; MainSession->DBMS_Job->Submit(Job, "sp_myproc(2, 100);", Date() + 1, "sysdate + 2", false); ShowMessage("Job = " + IntToStr(Job)); } Click to expand... ------------------ Marco Kalter Allround Automations