SLEEP
Pause query execution. This function pauses the script for a specified number of seconds, returning 0 if successful or 1 if interrupted.
Syntax
SLEEP(duration)Description
Example
SELECT SLEEP(5.5);
+------------+
| SLEEP(5.5) |
+------------+
| 0 |
+------------+
1 row in set (5.50 sec)Last updated
Was this helpful?

