MySQL Tutorial/Miscellaneous Functions/SLEEP

Материал из SQL эксперт
Версия от 12:49, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

SLEEP(duration): Sleeps (pauses) for the number of seconds given by the duration argument, then returns 0.

If SLEEP() is interrupted, it returns 1.



   <source lang="sql">

select SLEEP(100);</source>