Re: Simply add two columns together

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Jacco Schalkwijk (jacco.please.reply_at_to.newsgroups.mvps.org.invalid)
Date: 01/20/05


Date: Thu, 20 Jan 2005 23:13:08 -0000

Did you try your own code? It might just be what you are looking for......

-- 
Jacco Schalkwijk
SQL Server MVP
"JJ" <JJ@discussions.microsoft.com> wrote in message 
news:97BF21A0-90FD-4B98-BDF6-A5B0A45F83F2@microsoft.com...
> Hi,
>
>  I'm a noob when it comes to TSql and Sp's.  I just want to add to columns
> together like so...
>
> SELECT
>
>      MonHrs,
>      TuesHrs,
>      (MonHrs + TuesHrs) as TotHrs
>
> From Hours
>
> What do I need to do to add these two columns together to get the sum?
>
> Thanks,
>
> JJ