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 329
1 Maciej Los 290
2 Sergey Alexandrovich Kryukov 230
3 Shweta N Mishra 185
4 PIEBALDconsult 149
0 OriginalGriff 7,660
1 Sergey Alexandrovich Kryukov 7,072
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,760


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.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