>>Here is one link I opened and tried:
>>
>>
http://www.databasejournal.com/features/mssql/article.php/1490661>>
>>Also please check my original first message, I updated it with the sample code.
>
>Very nice. Thank you. ... is there any way to credit more than one person (message) as a solution here?
AFAIK there is only one solution per thread, though I saw cases where several messages were marked as a solution. I guess they were exception cases <g>
If it's not broken, fix it until it is.
My Blog