I have two DateTime columns in my table, ArrivalDateTime,DepartureDateTime with values like ’26/11/2012 00:00:00′ ’28/11/2012 00:00:00′ Now I want to find all the records from this table where a given date say 27/11/2012 exist between those dates using T Sql
I have two DateTime columns in my table, ArrivalDateTime,DepartureDateTime with values like ’26/11/2012 00:00:00′
Share
You can use
BETWEEN: