Navicat: Can't create a procedure from within another stored routine

Posted Fight With Me!!!

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Navicat: Can't create a procedure from within another stored routine相关的知识,希望对你有一定的参考价值。

测试调用mysql的存储过程,于是用Navicat写,结果报这个错误,源代码如下:

CREATE PROCEDUREQueryDate()
BEGIN
      SELECTCURDATE();
END;

google了下,原来在Navicat里面不需要写头,直接从BEGIN开始即可。

过程名将在保存的时候填写,参数则可以填在代码定义框下面的参数输入框中,如果要使用返回值,则可以设定类型为FUNCTION,回传框即可填写。

以上是关于Navicat: Can't create a procedure from within another stored routine的主要内容,如果未能解决你的问题,请参考以下文章

遇见Navicat 2003-can't connect to MYSQL server on 'localhost'(10061)

win10下MySql问题navicat显示Navicat 2003-can't connect to MYSQL server on 'localhost'(10061)

navicat远程连接mysql,2003 can't connect to mysql server on 10038

Navicat连接Mysql 出现Authentication plugin 'caching_sha2_password' can't be loaded:乱码

用Navicat连接mysql报错:2003-Can't connect to MySql server on '10.100.0.109'(10039)

navicat连接mysal报错啊,2003---can't connect to mysql server on localhost(10061),怎么解啊?