How to run a stored procedure every day in SQL Server Express Edition?

前端 未结 11 1506
野的像风
野的像风 2020-11-28 08:06

How is it possible to run a stored procedure at a particular time every day in SQL Server Express Edition?

Notes:

  • This is needed to truncate an audit t
11条回答
  •  日久生厌
    2020-11-28 08:42

    If you are using Express Edition, you will need to use the Windows Scheduler or the application connecting to the server in some way.

    You would use the scheduler to run sqlcmd. Here are some instructions for getting the sqlcmd working with express edition.

提交回复
热议问题