I have seen a lot of Q&A about this, but none address my scenario.
To simplify things, I am providing simplified code from a script rather than the entire function. The code below reproduces the problem:
SET @Loc = 'xxx';
SET @RegionName = '';
SET @RegionName = @Loc + ' - ' + @Loc;
SELECT @RegionName;
and 3 warnings:
Truncated incorrect DOUBLE value: 'xxx'
Truncated incorrect DOUBLE value: ' - '
Truncated incorrect DOUBLE value: 'xxx'
I'm a SQL Server developer trying to migrate to MySql and appreciate any help you can offer.
Thank you.
