I´d like to SELECT a single value into a variable. I´d tried to following:
DECLARE myvar INT(4);
-- immediately returns some syntax error.<
You maybe miss the @ symbol before your value,like that select 'test' INTO @myValue;
select 'test' INTO @myValue