Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to schedule a stored procedure

Posted on 2016-09-20
3
Medium Priority
?
99 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 70

Expert Comment

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

Expert Comment

by:Scott Pletcher
ID: 41807288
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 44

Accepted Solution

by:
zephyr_hex (Megan) earned 2000 total points
ID: 41807300
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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

772 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