Click here to Skip to main content
15,886,656 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more: , +
Hello,

I have a stored procedure that needs to be run automatically at every 24 hrs in sql server 2008.I am not sure but I think I have to create Job for that.I know nothing about it.

Can anybody help me?

Thanks,

Dhaval
Posted

Dhaval,

To automate the proc, you do need to create a job and then schedule it..
check this video link[^].
 
Share this answer
 
Yes, you can do it using SQL Server Agent.

In SQL Server Agent, there is a Jobs section, where one can create a new job and see a list of steps that is needed to create it.
During creation, one can specify the step to run a stored procedure(like: exec MyStoredProcedure).

Refer:
MS Technet: SQL Server Agent[^]
MSDN: Schedule a Job[^]
 
Share this answer
 
v2

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