Re: Simply add two columns together
From: Jacco Schalkwijk (jacco.please.reply_at_to.newsgroups.mvps.org.invalid)
Date: 01/20/05
- Next message: David Portas: "Re: Simply add two columns together"
- Previous message: Jacco Schalkwijk: "Re: NOT IN with a subquery"
- In reply to: JJ: "Simply add two columns together"
- Next in thread: David Portas: "Re: Simply add two columns together"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: David Portas: "Re: Simply add two columns together"
- Previous message: Jacco Schalkwijk: "Re: NOT IN with a subquery"
- In reply to: JJ: "Simply add two columns together"
- Next in thread: David Portas: "Re: Simply add two columns together"
- Messages sorted by: [ date ] [ thread ]