Skip to content
 

Sleep (WaitFor)

WaitFor Delay is the equivilent of sleep in SQL SERVER.  Here is an example:

SELECT GETDATE()
WAITFOR DELAY '00:00:10' —- Wait 10 seconds
SELECT GETDATE()

Related Posts: