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






If SLEEP() is interrupted, it returns 1.

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