Click here to Skip to main content
15,884,298 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

Refer Scheduled Job [^]
 
Share this answer
 
v2
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!
:)
 
Share this answer
 
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 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.
 
Share this answer
 
Hi,

You have to Schedule a Job.

Cheers
 
Share this answer
 

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