mysql> show tables;
+---------------------+
| Tables_in_cpsc408db |
+---------------------+
| Product |
| laptop |
| pc |
| printer |
+---------------------+
4 rows in set (0.00 sec)
mysql> create procedure hello()
-> begin
-> select * from product;
ERROR 1064 (42000): 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 3
mysql>
この構文エラーの原因はわかりませんが、これまで考えていませんでした。どんな助けでも大歓迎です。基本的なmySqlプロシージャの問題
これは私が必要としていたものでしたので、私はそのチュートリアルをチェックします。 – bobbyzzz