Solved

How to schedule a stored procedure

Posted on 2016-09-20
3
35 Views
Last Modified: 2016-09-20
i don't see a way to schedule a stored procedure in SQL server 2008. I am looking for the job wizard but I keep getting the new job window. when i schedule a step, it does not give me the option to choose a stored procedure.
0
Comment
Question by:maximus1974
3 Comments
 
LVL 69

Expert Comment

by:Éric Moreau
Comment Utility
Do you see SQL Agent in Management Studio? This is where you will be able to schedule tasks
0
 
LVL 69

Expert Comment

by:ScottPletcher
Comment Utility
You schedule an entire job, not just a step.

Right-click on the Job, select "Properties", click on the "Schedules" tab, and create the schedule(s) you need from there.
0
 
LVL 42

Accepted Solution

by:
zephyr_hex earned 500 total points
Comment Utility
You won't choose a stored procedure.  You'll execute a command:

agent
Create a new job, add a new step to the job and give it a name, and enter in your command that runs the stored procedure.  Make sure you select the database, and the proxy that should run the job in the Run As drop down.  Then go through the other settings (Schedule, etc) and configure the job.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now