欢迎访问 生活随笔!

生活随笔

当前位置: 首页 >

Navicat——MySQL之delimiter默认设置问题

发布时间:2024/10/5 44 豆豆
生活随笔 收集整理的这篇文章主要介绍了 Navicat——MySQL之delimiter默认设置问题 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

SQL代码

delimiter // create procedure example_if(in x int) begin if x=1 then select 1; elseif x=2 then select 2; else select 3; end if; end //

错误信息

1064 - 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 1

参考文章:

https://blog.csdn.net/seven_3306/article/details/9061769

总结

以上是生活随笔为你收集整理的Navicat——MySQL之delimiter默认设置问题的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。