Skip to main content

SLEEP

sleep​

Warning

This function cannot be used in a production environment and will have serious implications.

description​

Syntax​

BOOLEAN sleep(INT num)

Sleeps the current session for num second(s)。

example​

mysql> select sleep(10);
+-----------+
| sleep(10) |
+-----------+
| 1 |
+-----------+

keywords​

sleep