Navicat——MySQL之delimiter默认设置问题
生活随笔
收集整理的這篇文章主要介紹了
Navicat——MySQL之delimiter默认设置问题
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
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
總結(jié)
以上是生活随笔為你收集整理的Navicat——MySQL之delimiter默认设置问题的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: FineReport——JDBC 连接
- 下一篇: HTML/CSS——网页SVG ICON