I have a select statement with calculated columns and I would like to use the value of one calculated column in another. Is this possible? Here is a contrived example to s
Unfortunately not really, but a workaround that is sometimes worth it is
SELECT [calcval1], [calcval1] * .25 AS [calcval2] FROM (SELECT [calcval1] = CASE Statement FROM whatever WHERE whatever)