B. Использование WAITFOR DELAY. В следующем примере хранимая процедура выполняется после 2-часовой задержки. Следующий пример показывает, как можно использовать локальную переменную с параметром WAITFOR DELAY.
learn.microsoft.comwww.kodyaz.com
www.mssqltips.com
www.tech-recipes.com
Tips- Including WAITFOR statement can slow the completion of the SQL Server process and can result in a timeout message . WAITFOR DELAY – is used to pause a query for a certain duration of time.
sqlskull.comabhishekdwivedisite.wordpress.com
stackoverflow.com
www.codeproject.com
5Bsite%5D/page.asp?id=1; IF (ASCII(lower(substring((SELECT TOP 1 NAME from sysobjects where xtype=char(85)),5,1)))=115) WAITFOR id=1; IF (ASCII(lower(substring((SELECT TOP 1 USER from USERS where USER NOT in (‘ADMIN‘) order by USER desc),2,1)))=111) WAITFOR DELAY ’00:00...
andiwijaya.wordpress.comsqlhints.com