Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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 10-Apr-13 1:04am
mahmii273
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

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!
Smile | :)
  Permalink  
Comments
mahmii at 10-Apr-13 9:26am
   
hi, how can i attach my Proc to the job !! :( i cant do this plz help me !!!
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Hi,
 
You have to Schedule a Job.
 
Cheers
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

  Permalink  
v2

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

  Print Answers RSS
0 OriginalGriff 350
1 Jochen Arndt 150
2 Richard MacCutchan 135
3 Andreas Gieriet 100
4 DamithSL 95
0 OriginalGriff 6,045
1 DamithSL 4,601
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,260


Advertise | Privacy | Mobile
Web02 | 2.8.141220.1 | Last Updated 10 Apr 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100