How to query database where date and time field are separate?

Posted by learner on Stack Overflow See other posts from Stack Overflow or by learner
Published on 2010-06-07T20:41:14Z Indexed on 2010/06/07 20:42 UTC
Read the original article Hit count: 230

Filed under:
|

In Table, Time and date fields are two separate fields. I need to make a query something like this give all records where date and time <= givenDateTime. How do i do that please?

© Stack Overflow or respective owner

Related posts about sql-server

Related posts about tsql