Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
Adreanne
Starting Member
9 Posts |
Posted - 2007-05-03 : 09:16:09
|
I would like to take the following code and display the data / count by month. I want to see how many people are logging in by month.. I tried using the datepart but I keep getting an aggrefate comannd error can anyone help modify this querySELECT DISTINCT Count(login.login_time) AS CountOflogin_timeFROM loginWHERE login.login_time>=#10/1/2005#;Thanks, |
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
|
|
|
|