TSQL: Dates that lie between (intersect) from and to date?

Posted by abmv on Stack Overflow See other posts from Stack Overflow or by abmv
Published on 2010-05-18T11:45:31Z Indexed on 2010/05/18 11:50 UTC
Read the original article Hit count: 306

Filed under:

Can someone give me the tsql to find also the dates that lie inside the give from and to date.

select * from empc where
DateFrom >= p_todate AND DateTo <= p_todate

© Stack Overflow or respective owner

Related posts about tsql