Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Thomas Bartkus
June 22, 2006, 2:17 pm
rate this thread
The problem is that the following will also emit (print) the result to the
terminal as a side effect.
SELECT @SomeVar := SomeFieldCalculation
Is there not a simple way to accomplish this silently. IOW - get SELECT to
shut up since it is merely assigning a variable for use further along. Or
is there some other assignment syntax I should use that doesn't involve the
And yes - I do know I can redirect the output to oblivion.
I just think I must be missing something ;-)
- » Americanas.com SALDO de TVs Com at 80% de Desconto (29798)
- — Newest thread in » MySQL Database Forum