I\'m enhancing an existing java application. There is data in 2 different DB2 databases. The app already gets data from 2 different databases, but it always does a lookup
Use fully qualified name <database>.<user/schema>.<tablename>
<database>.<user/schema>.<tablename>
something like:
select * from DB1.myid.remote_orders a inner join DB2.local_schema.parts b on (a.key = b.key) with ur FETCH FIRST 200 ROWS ONLY