Solved

executing Sql server strored proc at a given time

Posted on 2008-10-15
7
156 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
[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

 
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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

In this article I will describe the Backup & Restore 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.
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

617 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