Schedule SQL Job in a user configured time intervals everyday

后端 未结 5 2019
醉梦人生
醉梦人生 2021-01-12 20:55

In my application (ASP.NET, C#), i need to run a stored procedure in a set of pre defined time interval(s) everyday. So that i created a sql job and scheduled the same. But

5条回答
  •  失恋的感觉
    2021-01-12 21:11

    Assuming this isn't a frequent event, execute sp_update_schedule when the table is updated. Add this to the update procedure or as a trigger if directly updating the table.

提交回复
热议问题