How can I select 12/20/2008 in where clause of sql?
where
The server is SQL server 2005.
select * from tblErrorLog where errorDate = '12/20/2008'
WHERE datetime_column >= '20081220 00:00:00.000' AND datetime_column < '20081221 00:00:00.000'
1.4m articles
1.4m replys
5 comments
57.0k users