If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Select tables from other database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-05-04, 14:42
oracle08821 oracle08821 is offline
Registered User
 
Join Date: Feb 2004
Posts: 24
Question Select tables from other database

Hi All,

I want to know is there a way to select some tables from another database in db2. We have two databases database A and database B. I connect to database A and want to query from database B which is on other server and other port. I know this is possible in Oracle using DBLink.

Any help is appreciated.

Thanks in Advance.

Srinivas
__________________
Thanks
Srinivas chityala
Reply With Quote
  #2 (permalink)  
Old 08-05-04, 15:11
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Yes it is, in DB2 it is called Federation. Look in the manuals on how to set this up.

Andy
Reply With Quote
  #3 (permalink)  
Old 08-13-04, 14:42
urquel urquel is offline
Registered User
 
Join Date: Aug 2004
Posts: 330
You might try creating an alias pointing to the other subsystem.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On