MySQL Forums
Forum List  »  Oracle

Re: Linking Oracle tables to MySQL
Posted by: Josh Chamas
Date: November 16, 2004 06:39PM

Marty Metras wrote:
> ...
> I want to make a direct link in the SQL to get
> data directlly from the MySQL database from
> ORACLE.
>
> Kind of like this: Where the 2 tables are one
> different servers.
>
> Select o.partno, m.partnumber
> from oracle.PARTmaster_TABLE o,
> mysql.partmaster_table m
> where o.partno = m.partmeaster;
>
> Is there a was to directly link these to DBs?
>

Not to my knowledge, nor do I know whether this will ever be possible.

However, you might be able to achieve something similar if you
export your Oracle data and import it into MySQL regularly, thus
taking a snapshot you could query against. You could even call
the database/schema in MySQL "oracle" if you are so inclined
thus enabling the SQL that you suggested above.

Further, of course you can combine records programmatically
via things like JDBC or DBI where the application itself manages
connections to multiple databases at once, but then you lose the
nice SQL abstraction you were going for.

I certainly know that such a thing could be possible one day, I am just
not aware of any products that do such a thing, nor do I know whether
we plan on building one ourselves.

Regards,

Josh

Josh Chamas
Director, Professional Services
MySQL Inc., www.mysql.com
Get More with MySQL! http://www.mysql.com/consulting

Options: ReplyQuote


Subject
Views
Written By
Posted
6604
November 05, 2004 04:28PM
Re: Linking Oracle tables to MySQL
8369
November 16, 2004 06:39PM
3794
November 17, 2004 07:55AM
3664
November 17, 2004 10:02AM
3373
November 17, 2004 01:15PM
6803
November 17, 2004 01:46PM
3052
November 17, 2004 02:18PM
3318
November 17, 2004 02:41PM
2832
November 17, 2004 03:09PM
3386
December 08, 2004 04:01PM
3147
December 14, 2004 09:20AM
3207
December 14, 2004 09:27AM
3425
December 14, 2004 08:52PM
6751
t p
July 04, 2006 04:46PM
3043
t p
July 06, 2006 03:37PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.