executing Sql server strored proc at a given time

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

thanks a lot
Question by:Nyana22
LVL 39

Expert Comment

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

Expert Comment

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.

Author Comment

ID: 22722170
thanks, but how?
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

LVL 60

Assisted Solution

chapmandew earned 40 total points
ID: 22722189

Author Comment

ID: 22722242
i didnt find it, is it because i have the express version??

Assisted Solution

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.
LVL 39

Accepted Solution

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:

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

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

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…
Data architecture is an important aspect in Software as a Service (SaaS) delivery model. This article is a study on the database of a single-tenant application that could be extended to support multiple tenants. The application is web-based develope…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

809 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