automate a SQL query to run every month
12,472
For SQL Server Express, there are a few possibilities. Unfortunately none of them involve Management Studio:
- Use a combination of Windows Scheduler, sqlcmd.exe, and .bat files
- Use SQL Server Service Broker
- Use a Codeplex variation of SQL Agent
- Use SQL Scheduler (free download)
Related videos on Youtube
Author by
ItsPronounced
Constantly learning web application development. Self taught ASP.NET and php since 2003.
Updated on May 04, 2022Comments
-
ItsPronounced about 2 years
I have a simple SQL query that updates some date fields in a record, on a SQL Express instance.
I'd like to have it run automatically every month. What is the best way of accomplishing this in SQL Server 2005 Express using the Management Studio?
-
Matt almost 14 yearsWhy would you ever use a .bat when you can use a job that is built into SQL Server exactly for this purpose?
-