What would be the best way to get datetime ranges between records in SQL server. I think it would be easiest to explain with an example.
I have the following. These recor