Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

how to delay stored procedure execution in sql server

How to delay the execution of the stored procedure in SQL SERVER
The code below will delay the execution for 2hrs.

BEGIN  
    WAITFOR DELAY '02:00';  
    EXECUTE sp_helpdb;  
END;  
GO 
 
PREVIOUS NEXT
Tagged: #delay #stored #procedure #execution #sql #server
ADD COMMENT
Topic
Name
2+2 =