我用navicat premium编写的MySQL实验存储过程,报错?
我用navicatpremium编写的MySQL实验存储过程,如下:createprocedurexyz(outtitlevarchar(100))BEGINselect...
我用navicat premium编写的MySQL实验存储过程,如下:create procedure xyz (out title varchar(100))BEGIN select post_title into title from wp_posts where ID = 9;END报语法错误:Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 6Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'END' at line 1请问是什么原因?该如何纠正?
展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询