ochness
asked on
Date_Time Field in SQL Query (T-SQL)
I am some what new to SQL and am trying to query a table that has a date_time field in it and filter by that date_time field. The field shows the date and then the time that the line was written to the database.. i.e. '2001-10-31 15:35:24.000'.
My question is how do I get all data that happened on a specific day (like 10-31-2011) regardless of what the time is?
Thank you in advance for any help with this.
My question is how do I get all data that happened on a specific day (like 10-31-2011) regardless of what the time is?
Thank you in advance for any help with this.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
better check this article out to do things correctly:
https://www.experts-exchange.com/A_1499.html
above will eventually fail in some setups ...
https://www.experts-exchange.com/A_1499.html
above will eventually fail in some setups ...
ASKER
Thanks again.