Lukas, thanks a lot! Actually, I didn't expect a response that soon!
So, what can I say? I expected the same solution for tuples you suggested and implemented. I think it's great! Btw, my use case was selecting by composite key. May be I should have tried UDTs instead? Cheers, Anton
