Dear All,
I wanted include a calculated field (column) in my query output. how do i go about that?
Please help me.
SELECT amtcol1, amtcol2, amtcol1 + amtcol2 as 'Total'
or
SELECT amtcol1, amtcol2, 'Total' = amtcol1 + amtcol2
Dear All,
I wanted include a calculated field (column) in my query output. how do i go about that?
Please help me.
SELECT amtcol1, amtcol2, amtcol1 + amtcol2 as 'Total'
or
SELECT amtcol1, amtcol2, 'Total' = amtcol1 + amtcol2
No comments:
Post a Comment