macromedia.coldfusion.advanced_techniques
[Top] [All Lists]

Re: grouping by date

Subject: Re: grouping by date
From: "Hagster" <webforumsuser@xxxxxxxxxxxxxx>
Date: Mon, 28 Jul 2008 14:19:15 +0000 (UTC)
Newsgroups: macromedia.coldfusion.advanced_techniques

Hello All,

 Well that was easy to work out :). Can do it in the TSQL, code below just in 
case any one was interested.

 select month(planddate) AS plandate, planpart
      , sum(planoq) AS planoq
   from planned
 group
     by month(planddate), planpart

 Kind Regards Guy 



<Prev in Thread] Current Thread [Next in Thread>