I had replied to your message, but apparently it vanished. I had no problem with your usage of the term 'trivial', and I appreciate you not giving a highly-dense solution as I'm still learning the language and high density would require more brainpower than I'm willing to devote to it.
I also plan on posting this code on SQLServerCentral.com for other DBAs to use and modify, and by using a simpler, 'trivial' implementation, the code will be more easily modified by others. If they know how to make it more dense, let 'em. | [reply] |