one query - 2 Databases
Posted: Wed 16 Nov 2011 10:47
Hello!
I don't know if I am right in this forum - but I have a question:
Is it somehow possible to access 2 tables in DIFFERENT DATABASES (1xOracle, 1xPostgres).
For Example I would need:
I have an Oracle Table (validUsers) with 2 columns:
Oracle.validUsers.UID
Oracle.validUsers.valid
I have a Postgres Table (Users) with 2 columns:
PGsql.Users.UID
PGsql.Users.Username
Now I need to select all PGsql.Users.Username where the Oracle.validUsers.valid is set to 'True' - and best would be to do this with one - database independent - query?
Is this somehow possible? (BTW: It IS possible in MS Access with linked tables.... but we want to omit Access...)
Thank you!
I don't know if I am right in this forum - but I have a question:
Is it somehow possible to access 2 tables in DIFFERENT DATABASES (1xOracle, 1xPostgres).
For Example I would need:
I have an Oracle Table (validUsers) with 2 columns:
Oracle.validUsers.UID
Oracle.validUsers.valid
I have a Postgres Table (Users) with 2 columns:
PGsql.Users.UID
PGsql.Users.Username
Now I need to select all PGsql.Users.Username where the Oracle.validUsers.valid is set to 'True' - and best would be to do this with one - database independent - query?
Is this somehow possible? (BTW: It IS possible in MS Access with linked tables.... but we want to omit Access...)
Thank you!