使用Navicat for mysql工具進行存儲過程的編輯時,經常出現
1064-yovu have an error in your sql syntax;check the manual that corresponds to your mysql server version for the right syntax to use near ')...............錯誤代碼,如下圖
針對於1064錯誤的處理,我找出了幾種解決方法:
1:在編輯存儲過程的代碼時,在end之前沒有加分號
2:輸入的參數中需要給出長度的數據類型,沒有給出長度值(如varchar(255))
3:在一些表中有sql的關鍵字,檢查並去除就好
MYSQL中的一些關鍵字(截圖於此):