views:

68

answers:

2

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?

A: 

Create a job with monthly schedule in Sql Agent and assign a T-Sql task to it with this query.

Denis Valeev
I don't seem to see a SQL Agent. Sorry I failed to mention this was Sql Server 2005 Express and I'm using Management Studio Express. Can I still accomplish this? Thanks!
drpcken
This would be a good option if there was another non-Express SKU of SQL Server running elsewhere.
p.campbell
down voted because they didn't look up that express doesn't come with sql server agent.
DForck42
+4  A: 

For SQL Server Express, there are a few possibilities. Unfortunately none of them involve Management Studio:

  1. Use a combination of Windows Scheduler, sqlcmd.exe, and .bat files
  2. Use SQL Server Service Broker
  3. Use a Codeplex variation of SQL Agent
  4. Use SQL Scheduler (free download)
8kb
Thank you! The Codeplex variation worked better than I had expected!!!
drpcken