I\'m trying to do some simple manipulations with variables in MySQL 5.0 but I can\'t quite get it to work. I\'ve seen many (very!) different syntaxen for DECLARE/SET, I\'m not
try this:
declare @foo varchar(7), @oldFoo varchar(7) set @foo = '138' set @oldFoo = '0' + @foo