Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Incident Reports » Incident Reports Reported for Version 2.03 » View Incident Report |
Serious |
Reported By: Roy Lambert Reported On: 5/9/2010 For: Version 2.03 Build 13 |
SELECT _PNO, COALESCE(_Result,'-') AS _Result, COALESCE(_Analysis,'-') AS _Analysis, COUNT(*) AS _Count, CAST(100 * COUNT(*) / T._Total AS NUMERIC(0,1)) AS _Percentage FROM CallStats JOIN ( SELECT COALESCE(_Result,'-') AS _Result, COUNT(*) AS _Total FROM CallStats WHERE _fkProjects = :ProjectID AND _PNO = :PNO AND _Date BETWEEN :StartDate AND :EndDate GROUP BY _PNO,COALESCE(_Result,'-') ) T ON COALESCE(T._Result,'-') = COALESCE(_Result,'-') WHERE _fkProjects = :ProjectID AND _PNO = :PNO AND _Date BETWEEN :StartDate AND :EndDate GROUP BY _PNO,COALESCE(_Result,'-'),COALESCE(_Analysis,'-')
This web page was last updated on Wednesday, March 20, 2024 at 07:22 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |