So I have a column in my DB on SQL Server that is a datetime. I want to do this simple select statement:
SELECT *
FROM Res
Where dateSubmit='6/17/2010 5:01:26 PM'
dateSubmit
is a datetime data type and my database has a row where dateSubmit is 6/17/2010 5:01:26 PM
However, when I execute this statement it returns null.