Well it's nice to see the query is optimized.
Do you get to maintain this, or are you trying to debug something that happened inside of it?
Who did you pi** off to get this assignment? 🙂
_____________________________
Past performance != future results.
All opinions and suggestions are my own, unless they're really good. Then I most likely read them here...