A simple one for the Guru's:
I need to count when users singed up by date, but the field is a datetime so the following won't work:
SELECT Usr_CreatedOn as Reg_Date, COUNT(Usr_CreatedON) as Total
FROM tblUsers
GROUP BY USr_CreatedON;
it counts the time interval, so each user is counted seperately
Looking for:
have tried CONVERT, and TRIM plus others
thanks for the help,
Michael
Code:
tblUsers
Usr_CreatedOn = Datetime Field
I need to count when users singed up by date, but the field is a datetime so the following won't work:
SELECT Usr_CreatedOn as Reg_Date, COUNT(Usr_CreatedON) as Total
FROM tblUsers
GROUP BY USr_CreatedON;
it counts the time interval, so each user is counted seperately
Looking for:
Code:
Reg_Date Total
03/01/2001 34
03/02/2001 43
Ect...
have tried CONVERT, and TRIM plus others
thanks for the help,
Michael