I am not sure if I am asking the right question here, but I will try to explain what I need. I need to write a sql query with a @StartDate parameter and an @EndDate paramet