Viewing 3 posts - 1 through 3 (of 3 total)
By George, Jeff, I think that may be it!
Billy's answer was right - you can't use aliased columns elsewhere in a SQL expression. You have to type out the formula...
November 20, 2003 at 1:43 am
Thanks for that Jeff.
You're right as far as the example goes, but the problem comes of course when the '1' changes to a field as in :
select qty+1 as two,...
November 19, 2003 at 9:53 pm
Thanks Billy, it helps to have a name for the problem "column aliasing within an expression"!
Sometimes repeating the (1+1) formula is possible, but it quickly gets unweildy.
I was...
November 19, 2003 at 4:35 pm
Viewing 3 posts - 1 through 3 (of 3 total)