Use a CTE that returns the row ID and the result of the DateDiff, then join that to your existing result set? It may or may not be faster, so as always, test it to see.
YouTube on MSN
Master date functions in Excel
Learn essential date functions in Excel from beginner to pro in this tutorial. You'll discover how to calculate the number of ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results