LoginSignup
5
3

More than 3 years have passed since last update.

A5MK2でプロシージャを作成する時の注意点(#42000が出てしまう...)

Last updated at Posted at 2019-01-23

mySQLでの実行環境において

下記の状態で実行しないとプロシージャをCreateできない
image.png
・「キャレット位置を実行」
・「スラッシュのみの行でSQLを区切る」

下記のエラーが発生してしまう。
SQL : #42000You 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 4
となる

また、コメントは「--」ではなく「/* */」で囲う事

5
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
3