I can't execute MySQL statement when using delimiter (default ';'). I mean, when I run query like:
select * from mdw.dim_date dd limit 10;
select * from mdw.dim_order do limit 5;
I've got such error:
SQL 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 'select * from mdw.dim_order do limit 5' at line 2
I don't want to execute this per Alt+X (I am using Dbeaver) as I want to put query into pentaho. I need to execute around 50 deletes, so I don't want to divide it on 50 SQL scripts.
I am using MySQL (version: 5.6.36-82.0).
You need to click on "Execute Script" option on DBeaver
If you click the play button, It will show you that error.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With