I have a table in my SQL server database. I did the sql as follows, which returns nothing. Can you help me find out why?
select count(distinct Logon_user) as countof
from Login
where ('9/1/2004'=convert(datetime,Date_Added,110))
Note: Date_Added field has a datetime type
Thanks a lot! Jinglin
select count(distinct Logon_user) as countof
from Login
where ('9/1/2004'=convert(datetime,Date_Added,110))
Note: Date_Added field has a datetime type
Thanks a lot! Jinglin