How can we schedule the procedure to run automatically ?

Answers were Sorted based on User's Feedback



How can we schedule the procedure to run automatically ?..

Answer / mahesh

By using dbms_job (buitin package upto oracle 9i)
and using dbms_scheduler (oracle 10G onwrds)

Is This Answer Correct ?    7 Yes 0 No

How can we schedule the procedure to run automatically ?..

Answer / nakul.v

We can Schedule a Stored Procedure to run automatically
once we attach the Procedure to a Package and use the
Built – In DBMS_JOB Package.
DBMS_JOB.SUBMIT & DBMS_JOB.RUN will help us to Schedule a
Stored Procedure

Is This Answer Correct ?    4 Yes 0 No

How can we schedule the procedure to run automatically ?..

Answer / swapna

We Can Schedule The Procedure Run Automatically By Using
Packages.

Is This Answer Correct ?    6 Yes 5 No

Post New Answer

More SQL PLSQL Interview Questions

What is sqlerrd?

0 Answers  


how to check the 3rd max salary from an employee table? One of the queries used is as follows: select sal from emp a where 3=(select count(distinct(sal)) from emp b where a.sal<=b.sal). Here in the sub query "select count(distinct(sal)) from emp b where a.sal<=b.sal" or "select count(distinct(sal)) from emp b where a.sal=b.sal" should reveal the same number of rows is in't it? Can any one here please explain me how is this query working perfectly. However, there is another query to get the 3rd highest of salaries of employees that logic I can understand. Pls find the query below. "select min(salary) from emp where salary in(select distinct top 3 salary from emp order by salary desc)" Please explain me how "select sal from emp a where 3=(select count(distinct(sal)) from emp b where a.sal<=b.sal)" works source:http://www.allinterview.com/showanswers/33264.html. Thanks in advance Regards, Karthik.

4 Answers  


How can we overcome recursive triggers in SQL?

1 Answers   iFlex,


what are the properties and different types of sub-queries? : Sql dba

0 Answers  


What is the difference between null value, zero, and blank space?

0 Answers  






column A column b | output 10 7 | 10 5 8 | 8 7 -9 | 7 3 5 | 5 0 6 | 6 Write a sql query to print such output.

4 Answers  


define sql update statement ? : Sql dba

0 Answers  


wht is the difference between truncat,drop in sqlserver wht is the difference between function and stored procedure

3 Answers   Apollo,


i have some prob lem to tell me about my self in interview first round ...

0 Answers  


Can a table have no primary key?

0 Answers  


How can i insert data inro a table with 3 columns using FORALL?

2 Answers   Oracle,


how would you get the current date in mysql? : Sql dba

0 Answers  


Categories