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'
2.1m questions
2.1m answers
60 comments
57.0k users