Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: T-SQL "shortcut"?

    How about:

    DECLARE @sum1 int

    SELECT @sum1 = colA + colB

    FROM SomeTable

    SELECT @sum1/colC

    FROM SomeTable

    GO

Viewing post 1 (of 1 total)