Click here to Skip to main content
15,884,099 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hey users....!
I want to execute a stored procedure of MS SQL in a particular interval of time.... (Eg: 1st of every month).
Plzzzz Help...!
Thank in advance.
Posted
Updated 28-Feb-12 19:27pm
v2
Comments
Varun Sareen 29-Feb-12 1:12am    
edit for: removed unused pre tag

You can add a job in Sql Server to call this procedure and set a schedule for that to be executed at the specific time.
 
Share this answer
 
you can use SQL Server Agent to schedule a batch job ,
for further information of how schedule jobs surf google and have a look at
http://www.sqlservercurry.com/2009/11/executing-stored-procedure-at-regular.html[^]
this might help you
 
Share this answer
 
Comments
suresh_spsuthar 12-Mar-12 5:24am    
Create SQL Job and schedule it at the specified time.

This will resolve your problem.

Thanks,

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