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 |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2001-01-18 : 08:34:47
|
Sandy writes "Hi SQL Guru:
I have a date field (dateadded) w date & time and user entered field (userupd) in a table (activity).
i want to show a cross tab table of dateadded (just the date part) by user entered. i'm using access 97 and ms sql 7.0.
the following sql just doesn't work:
select count(*) as ctcount, datevalue(dateadded) as dateadded, userupd from activity group by dateadded, userupd order by dateadded, userupd
the above query works if I want date & time. any thoughts?
thanks
Sandy" |
|
|
|
|
|