Getting Date Range

50 Views Asked by At

I want to get all the information between two given dates, How can I get a range of Date in SQL server with the datatype of "smalldatetime"

I'm expecting to get all the information start from start date to end date

1

There are 1 best solutions below

0
On BEST ANSWER

I think you are looking for this :

SELECT * 
from your_table
where date BETWEEN start_date AND end_date