Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Informix
Expertise: Beginner
Nov 14, 2000

Query from One Informix Database to Another

Question:
I have two Informix databases existing on a Unix server. How do I write a stored procedure in one database that can access data from the other database?

Answer:
The following syntax shows you how to access a table in another database:

SELECT fieldname
FROM  otherdatabase:tablename
WHERE blah.....
This works from within stored procedures.
DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap