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 > Accessing data from another DB2 database in DB2

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-09-03, 22:32
aekjobs aekjobs is offline
Registered User
 
Join Date: Sep 2003
Location: Singapore
Posts: 11
Question Accessing data from another DB2 database in DB2

Hi All,

I have installed an application in a fresh DB2 database, now I want to access data which resides on another DB2 database on the same instance. So how do I go about doing it. Also if the database is on a different machine what needs to be done.

In Oracle parlance this is done using database links (when on different machine) or prefixing the other username to the table name in the SQL query.

So, what's the DB2 equivalent in this case.

Please help.

Regards,
Azhar.
Reply With Quote
  #2 (permalink)  
Old 11-09-03, 23:16
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Re: Accessing data from another DB2 database in DB2

Federated Database

Cheers
Sathyaram

Quote:
Originally posted by aekjobs
Hi All,

I have installed an application in a fresh DB2 database, now I want to access data which resides on another DB2 database on the same instance. So how do I go about doing it. Also if the database is on a different machine what needs to be done.

In Oracle parlance this is done using database links (when on different machine) or prefixing the other username to the table name in the SQL query.

So, what's the DB2 equivalent in this case.

Please help.

Regards,
Azhar.
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 11-10-03, 03:16
jsander jsander is offline
Registered User
 
Join Date: Apr 2003
Posts: 191
Re: Accessing data from another DB2 database in DB2

Hi,

alas - federated databases - do they support distributed updates and long datatypes yet?

I remember playing around with Data Joiner a couple of months ago and couldn't retrieve BLOB datatypes.

At the VLDB 2003 in Berlin people working on cache databases, which in their setup require federation, told me IBM was about to get around the problems I mentioned above.

Quote:
Originally posted by sathyaram_s
Federated Database

Cheers
Sathyaram
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