Hello mighty Monks,
I am familiar with vanilla usage of the DBI but today I need to do something more complex. I need to join tables in totally different databases.
I have a firebird 1.5 DB and an oracle 9i DB. Firebird has usage tables I want to report on and Oracle has the granular user/location detail I need. There is a common UID column coexisting in both DBs to join with. For various reasons the data just has to stay where it is, I can’t move the oracle data into firebird or vice-a-versa.
I could build a meta-database and pull all the data from both sources into it on a scheduled basis, then report on that. I would prefer not to have to maintain an entirely separate database. Google pulled up DBI-Link which does what I want as far as creating pseudo tables from external data sources, but it appears to only work inside of postgreSQL, which takes me back to the separate database issue.
What I would like to do is build the join in code using Perl DBI. Is this possible or am I barking up the wrong tree?
TIA
Mike
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.