SQL SERVER – Delay Function – WAITFOR clause – Delay Execution of Commands
Blocks the execution of a batch, stored procedure, or transaction until a specified time or time interval is reached, or a specified statement modifies or returns at least one row. This is very useful. Every day when I restore the database to backup server for reports post processing, I use…
Read More