Click here to Skip to main content
15,116,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi every body ... I've made a procedure in my database ,,
i want my procedure automatically performed every ten minutes!
how can i do this ?!
Posted

use SQL Jobs to excecute store-procedure on every ten minutes
visit link...
http://msdn.microsoft.com/en-us/library/ms190268(v=sql.100).aspx[^]

Happy Coding!
:)
   
Comments
mahmii 10-Apr-13 9:26am
   
hi, how can i attach my Proc to the job !! :( i cant do this plz help me !!!
Hi,

You have to Schedule a Job.

Cheers
   
Hi,

You cannot schedule a stored procedure by it self to execute on every 10 min, rather you can create a SQL Server Agent Job and schedule that job to run every 10 min.

refer below links on how to create and schedule a job to run.
Implementing Jobs[^]
Schedule a Job[^]
How to: Schedule a Job (SQL Server Management Studio)[^]
Creating Jobs[^]
Creating and Attaching Schedules to Jobs[^]

hope it helps.
   
Refer Scheduled Job [^]
   
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900