Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/66.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Mysql waitfor命令在SQL延迟中不起作用_Mysql_Sql - Fatal编程技术网

Mysql waitfor命令在SQL延迟中不起作用

Mysql waitfor命令在SQL延迟中不起作用,mysql,sql,Mysql,Sql,在MySQL中使用“waitfor”命令时,我总是会遇到一个错误 我还检查了MySQL文档,没有在他们的文档中写入 此命令是否有任何更新 请帮助我您可以尝试睡眠命令 与: 我得到: -------------- select current_time() -------------- current_time() 13:23:42 -------------- do sleep(5) -------------- -------------- select current_time() --

在MySQL中使用“waitfor”命令时,我总是会遇到一个错误 我还检查了MySQL文档,没有在他们的文档中写入

此命令是否有任何更新


请帮助我

您可以尝试
睡眠
命令

与:

我得到:

--------------
select current_time()
--------------

current_time()
13:23:42
--------------
do sleep(5)
--------------

--------------
select current_time()
--------------

current_time()
13:23:47

请参见

mysql中没有waitfor搜索mysql waitfor以获得可能的等价物。
--------------
select current_time()
--------------

current_time()
13:23:42
--------------
do sleep(5)
--------------

--------------
select current_time()
--------------

current_time()
13:23:47