Solved

executing Sql server strored proc at a given time

Posted on 2008-10-15
7
150 Views
Last Modified: 2010-03-19
Hello,
How can i execute a Sql server 2005 stored procedure called sp11 every wednesday @ 9h45 AM.

thanks a lot
0
Comment
Question by:Nyana22
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 39

Expert Comment

by:BrandonGalderisi
ID: 22722143
Schedule it as a job through SQL Server agent in Management studio.
0
 
LVL 39

Expert Comment

by:BrandonGalderisi
ID: 22722158
to expand upon that: SQL Server Agent will appear when you expand the servername in the object explorer.  Expand SQL Server Agent, right click Jobs, new job.
0
 

Author Comment

by:Nyana22
ID: 22722170
thanks, but how?
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 60

Assisted Solution

by:chapmandew
chapmandew earned 40 total points
ID: 22722189
0
 

Author Comment

by:Nyana22
ID: 22722242
i didnt find it, is it because i have the express version??
0
 
LVL 2

Assisted Solution

by:tree33
tree33 earned 60 total points
ID: 22722272
You can not schedule Jobs in the Express edition using a SQL Agent.
Another way whould be to create a osql script and the schedule this using the Windows Task Scheduler.
http://msdn.microsoft.com/en-us/library/aa213090(SQL.80).aspx
0
 
LVL 39

Accepted Solution

by:
BrandonGalderisi earned 200 total points
ID: 22722280
Yes.  SQL Server express does not have SQL Server agent.

There are a lot of things you can do and articles to read:

http://www.sqlteam.com/article/scheduling-jobs-in-sql-server-express

The other thing you can do is just create a Windows Scheduler job to execute it with sqlcmd.
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

This article will describe one method to parse a delimited string into a table of data.   Why would I do that you ask?  Let's say that you need to pass multiple parameters into a stored procedure to search for.  For our sake, we'll say that we wa…
INTRODUCTION: While tying your database objects into builds and your enterprise source control system takes a third-party product (like Visual Studio Database Edition or Red-Gate's SQL Source Control), you can achieve some protection using a sing…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

710 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