Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

querying two databases

$
0
0
I need to query one database, a mssql, in order to get supplier names, then use those names to get other information from two DB2 tables. I've made of view of the two DB2 tables so it will only take one query for that data. However, the best way I can think to do this is to store all the supplier names from the mssql DB in an array, then loop though each doing about 1200 queries to get the rest of the data.

Are there any better ways to do this I might not be aware of?

Thanks

Viewing all articles
Browse latest Browse all 13329

Trending Articles