Viewing 2 posts - 1 through 2 (of 2 total)
Looks like a pretty efficient technique. Thanks for the added value.
But you do need to be careful about one thing though:
Msg 535, Level 16, State 0, Line 5
The datediff...
September 27, 2013 at 12:33 pm
#1654162
lkent (9/26/2013)
Usually we only count days stay with a default of 1. ...
September 26, 2013 at 5:38 pm
#1653805