When I run a sleep command in MySQL, e.g. SELECT SLEEP(7), it returns zero. Why is this? Is it following the standard Unix convention of return values? Does it just need something to return and so zero is a good harmless value? Are there other MySQL functions that behave like this?
When I run a sleep command in MySQL, e.g. SELECT SLEEP(7) , it returns
Share
From the documentation: