Click here to Skip to main content
11,648,785 members (84,988 online)
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 0: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 F-ES Sitecore 409
1 CPallini 370
2 OriginalGriff 334
3 Kornfeld Eliyahu Peter 324
4 Sergey Alexandrovich Kryukov 254
0 OriginalGriff 1,512
1 Sergey Alexandrovich Kryukov 1,022
2 jyo.net 994
3 DamithSL 986
4 CPallini 945


Advertise | Privacy | Mobile
Web01 | 2.8.150804.4 | Last Updated 10 Apr 2013
Copyright © CodeProject, 1999-2015
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