automate a SQL query to run every month

前端 未结 3 1901
迷失自我
迷失自我 2020-12-20 18:08

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

3条回答
  •  自闭症患者
    2020-12-20 18:44

    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)

提交回复
热议问题