Comments - Upgrading fomr MySQL to MariaDB, stored procedure with union

5 years, 5 months ago Jan de Bokx

I tried it in MySQLWorkbench and Heidi, but got:

Error Code: 1064. You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'end' at line 38

After this I saw the delimiter change.... This prevents the error. I use the delimiter change only in scripts with multiple statements.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.