Date and time Query - problem

Posted by Gold on Stack Overflow See other posts from Stack Overflow or by Gold
Published on 2010-04-14T12:32:15Z Indexed on 2010/04/14 12:33 UTC
Read the original article Hit count: 287

Filed under:
|

hi

i try to run this query:

select * from WorkTbl

where ((Tdate >= '20100414' AND Ttime >= '06:00') and (Tdate <= '20100415' AND Ttime <= '06:00'))

i have this date: 14/04/2010 and time: 14:00

i cant see hem, how to fix the query ?

thank's in advance

© Stack Overflow or respective owner

Related posts about sql-server-2008

Related posts about query