Does all the columns in select statement gets selected one after another as listed?
Declare @X, @Y
SELECT
@X = ColumnA*.25 + ColumnB*2.5,
@Y = ColumnA*.5 + ColumnC*1.33,
TOTAL = @X + @Y
FROM SomeTable
Is the above query safe to use? Will total always be selected after @X and @Y are calculated?