>You're certainly welcome. And don't forget SQL Server Books On-Line as another resource. There're also examples in "Inside SQL Server 7.0" from MS Press and "SQL Server Programming Unleashed" from Sams.
Daniel's solution have pretty much solved my immediate need. However, I saw that Andrew's stuff is really good, and these resources you mentioned will certainly help me on implementing some ideas that I've been toying lately.
Thanks, George!!
Claudio Lassala