【发布时间】:2013-08-30 13:46:48
【问题描述】:
这个语法有什么问题?
mysql 5.5、phpmyadmin 3.4
delimiter ;;
create procedure foo(a text, b int, c text)
begin
select * from table_a where attribute1 like %a%
and attribute2 = b
and attribute3 like %c%
end
;;
phpmyadmin 在第 1 行告诉我语法错误,但无论如何它似乎都不起作用。
【问题讨论】:
-
@AndaIancu 同样的错误,但双分号以前有效,我不认为这是问题
标签: mysql sql database phpmyadmin