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 > Server to server data transfer

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-29-10, 05:45
ratheeshknair ratheeshknair is offline
Registered User
 
Join Date: Jan 2009
Posts: 153
Server to server data transfer

Hi Experts,

Is it possible to insert data from one table in a server to another server into a table having same structure?

Is it possible to achive using SELECT statement?

TIA
Reply With Quote
  #2 (permalink)  
Old 01-29-10, 06:23
dr_te_z dr_te_z is offline
Registered User
 
Join Date: Jan 2009
Location: Zoetermeer, Holland
Posts: 555
Yes, by means of "federation". When you can select data from a db2-table residing on another db2-database you van just as easy code a "load from cursor" of a "insert from select...).
Reply With Quote
  #3 (permalink)  
Old 01-29-10, 06:32
ratheeshknair ratheeshknair is offline
Registered User
 
Join Date: Jan 2009
Posts: 153
I have succesfully tried load and insert into select statements from one db to another but i want to know how can i achive the same in different db's residing in different physical machines.
Reply With Quote
  #4 (permalink)  
Old 01-29-10, 09:22
Cougar8000 Cougar8000 is offline
Registered User
 
Join Date: Nov 2005
Location: IL
Posts: 554
dr_te already gave you the answer. Look up federation.
__________________
--
IBM Certified DBA on DB2 for Linux, UNIX, and Windows

DB2 v9.1.0.2 os 5.3.0.0
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