• Thanks. a lot anthony. I really appreciate your help. I'll still test this thing up, in my environment and will get back to the topic in a few days. One more thing Anthony, pls. if possible could you edit your post, and comment out the code part for a brief description of what the code is actually doing, it would certainly help all of us in understanding it's logic, and the execution structure.

    Guys...I'll still keep this topic open ended, as I would like to see people coming up with different strategies to get this working. I would be glad to see something in t-sql as well.

    Thanks & Regards,

    Faisal