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'
Leave a Reply