Sleep Command in SQL Server


This content was proof-read by Grammarly. You can Try Grammary for FREE

If you are looking at writing a query to sleep for or WAIT for a certain amount of time before the query execution can begin , you can use the WAITFOR command.

For example , if you want to wait for 1 minute , the query or command for the same will be this.

WAITFOR DELAY '00:01'
%d bloggers like this: