The SLEEP() function pauses processing of SQL commands for "Seconds" and returns 0.
If SLEEP() is interrupted, the function returns 1.
The duration can be specified as a floating point number, where the decimal represents the microseconds.
For invalid values of "Seconds", the function returns 0 on MariaDB. MySQL generates an error message. |