Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Aug 022010

Sleep in MySQL


In MySQL, you can issue an query to sleep(), e.g.

mysql> SELECT SLEEP(2);
| SLEEP(2) |
|        0 |
1 row in set (2.00 sec)

 Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>