By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,924 Members | 1,651 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,924 IT Pros & Developers. It's quick & easy.

Query from more than 2 database

P: 4
Dear All,

I'm new in DB2 a lot of question rise went
We want to migrate our database from SQL Server to DB2
I want to know is it possible in DB2 to query field from two or more database in one server,
example
I have two database
1. database a
consist of table users ( userid,companyid,companyname)
2. Database B
consist of table user_log
(userid,username,logid,date)
my question is
I want to query userid,username from user_log inner join [database a].users where userid in(select userid from [database a].users)


thank's before

Regards



Agus Wahyu
Jun 27 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.