After I posted my initial message I thought about the same approach you are suggesting. And actually it should work even better as the tables do have indexes on both fields. I just keep forgetting that the JOIN does not have to be only ON one field but can have the AND clause.
Thank you very much for your help.
>It depends on what indexes you have. If you have indexes on each int field than
>
>select * from mytable1 join mytable2 ;
> on mytable1.intfld1 = mytable2.intfld1 and mytable1.intfld2 = mytable2.intfld2
>
>
>It's also standard SQL that will run on most other backends w/o modifications.
>
>>
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham