Link to home
Start Free TrialLog in
Avatar of mohan_555
mohan_555

asked on

Using multiple databases in DB2 query

Hi,
 I have 2 databases named DB1 and DB2 running in same instance of DB2 server installation in AIX. I would like to join table1 of DB1 and table2 of DB2 in same query. so query will looks like,

select DB1.table1.fieldname1,DB2.table2.fieldname2 from DB1.tablename1, DB2.tablename2

Thanks,
Mohan

ASKER CERTIFIED SOLUTION
Avatar of ghp7000
ghp7000

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial