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 > Informix > Accross servers

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-25-08, 23:18
P_db_user P_db_user is offline
Registered User
 
Join Date: Jul 2008
Posts: 14
Accross servers

Hi Experts,

I am connect to informix server A database dbA

from this I need to retrieve data from informix server B database dbB

how can I accomplish the above?

Regards,
Poornima
Reply With Quote
  #2 (permalink)  
Old 11-26-08, 03:00
ibm.ids ibm.ids is offline
Registered User
 
Join Date: Nov 2008
Posts: 64
Hello,
how about RTF(ine)M?
I found this:
http://publib.boulder.ibm.com/infoce...61%6d%65%22%20

So in your case it would be:
select * from dbB@B:your_database_B_table_name
I think this is SQL92 compliant.

HTH
Reply With Quote
  #3 (permalink)  
Old 12-01-08, 02:21
P_db_user P_db_user is offline
Registered User
 
Join Date: Jul 2008
Posts: 14
Hello,

Thanks it works fine.

But now I need to link two servers before I could issue the query rite.

I need to know how to programatically link two servers. I mean by executing a shell script I should be able to link two informix database servers

Thanks in advance.

Rgds,
P_db_user
Reply With Quote
  #4 (permalink)  
Old 12-01-08, 04:50
ibm.ids ibm.ids is offline
Registered User
 
Join Date: Nov 2008
Posts: 64
I don't know anything about "programatically linking two servers" for IDS.
You just need 2 IDS databases (you can have them on the same server or 2 different servers; same IDS instance or 2 instances), you need to configure instance(s) to receive remote connection (if you have 2 servers), and you can have distributed queries between instances. This isn't any high-tech procedure - it is simple IDS configuring.
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