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.com

  www.codeproject.com

  www.mssqltips.com

B. Использование WAITFOR DELAY. В следующем примере хранимая процедура выполняется после 2-часовой задержки. Следующий пример показывает, как можно использовать локальную переменную с параметром WAITFOR DELAY.

  learn.microsoft.com

  abhishekdwivedisite.wordpress.com

  sqlhints.com

  stackoverflow.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.com

  www.tech-recipes.com

  www.kodyaz.com

Page generated - 0.6550869942 (7ba3179ea2c015b98177064a293e4d85)