Instead of a cross system join (which IBM rejected my RFE on that BTW) I
wonder if you could use a UDTF to mask that to the consumer which would, in
effect, do the cross system join?
a UDTF is only some view with parameters and sitting on the same database as
the tables it uses. There is always a two step solution: get the remote
tables to your machine and afterwards you could join (that's what SQL Server
does under the cover and DB2 federation server too). If you are dealing with
lots of data, this would be slow (as it is). Additional you would have some
problems with data in change.
The only fast way, I could think about, is to replicate one of the tables to
the other database. This could be even made transaction safe.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.