Solved

How to schedule a stored procedure

Posted on 2016-09-20
3
47 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
ID: 41807188
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
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 42

Accepted Solution

by:
zephyr_hex (Megan) earned 500 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
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 different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how the fundamental information of how to create a table.

895 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

11 Experts available now in Live!

Get 1:1 Help Now