EchoAlertcom
IS-IT--Management
Hello,
How do I Group By with date only with a DateTime Data Type?
SELECT Count(*) as GrossSubmits, SignupDate
FROM dbo.Leads where SignupDate BETWEEN '01-AUG-06' AND '14-AUG-06' Group By SignupDate
Currently this breaks out each time as a different grouping. I just want all the records for each date as one group.
Thank you,
Steve
How do I Group By with date only with a DateTime Data Type?
SELECT Count(*) as GrossSubmits, SignupDate
FROM dbo.Leads where SignupDate BETWEEN '01-AUG-06' AND '14-AUG-06' Group By SignupDate
Currently this breaks out each time as a different grouping. I just want all the records for each date as one group.
Thank you,
Steve