dcsimg
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

WEBINAR:

On-Demand

Building the Right Environment to Support AI, Machine Learning and Deep Learning


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
Thanks for your registration, follow us on our social networks to keep up-to-date