谁能告诉我下面的sql语句有什么问题?
我不能在mysql中运行它。
create function getParent(@value INT)
returns @tmp table
begin
return (select * from cate_test);
end
错误消息是:
ERROR 1064 (42000): You have an error in your SQL syntax; 检查与您的 MySQL 服务器版本相对应的手册,以获取在 '@value INT) 附近使用的正确语法