Here is the performance stats of the solution by Waldar for TSQL Challenge18.
| Attempt | Start Time | Reads | Writes | CPU | Duration (Sec) |
| 1 | Apr 8 2010 11:48PM | 287963 | 2 | 1918 | 2.842 |
| 2 | Apr 9 2010 12:12AM | 287964 | 2 | 2231 | 2.935 |
| 3 | Apr 9 2010 12:36AM | 287964 | 2 | 2309 | 2.857 |
| 4 | Apr 9 2010 1:00AM | 287964 | 2 | 1919 | 2.930 |
| 5 | Apr 9 2010 1:25AM | 287964 | 2 | 2371 | 2.963 |