Can someone give me tsql to find also the dates that lie inside the cottage to date.
select * from empc where
DateFrom >= p_todate AND DateTo <= p_todate
I mean that the gaps between them should also be captured (I don't want to use the BETWEEN syntax)
please, help
abmv source
share