Click here to Skip to main content
12,882,493 members (26,620 online)
Rate this:
Please Sign up or sign in to vote.
See more: SQL-Server Scheduler , +

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?


Posted 24-Jun-12 2:45am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1


To automate the proc, you do need to create a job and then schedule it..
check this video link[^].
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

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).

MS Technet: SQL Server Agent[^]
MSDN: Schedule a Job[^]

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

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170422.1 | Last Updated 24 Jun 2012
Copyright © CodeProject, 1999-2017
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