Open GeoDan87 opened 3 years ago
https://docs.microsoft.com/en-us/sql/relational-databases/system-stored-procedures/sp-update-job-transact-sql?view=sql-server-ver15
Trigger can end with setting @enabled = 1, reset it to @enabled = 0 in the daily job.
https://dba.stackexchange.com/questions/70069/giving-file-system-access-to-the-sqlserveragent-virtual-account
https://docs.microsoft.com/en-us/sql/relational-databases/system-stored-procedures/sp-update-job-transact-sql?view=sql-server-ver15
Trigger can end with setting @enabled = 1, reset it to @enabled = 0 in the daily job.