How can I use variables in aqua data studio when connecting to a MySQL database? Here is a simple example:
set @var = 1
select @var
or
set @var = 1;
select @var;
This results in the following error
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 @var' at line 2