Windows Service or SQL Job?

前端 未结 6 2017
别那么骄傲
别那么骄傲 2021-02-08 21:52

I have an archiving process that basically deletes archived records after a set number of days. Is it better to write a scheduled SQL job or a windows service to accomplish the

6条回答
  •  鱼传尺愫
    2021-02-08 22:17

    I would think a scheduled SQL job would be a safer solution since if the database is migrated to a new machine, someone doing the migration might forget that there is a windows service involved and forget to start/install it on the new server.

提交回复
热议问题