That would be the way I would do it. Here we end up having to set up dblinks so usually make views just to shorten the syntax of the queries.
On 5/3/06, Martin Thorpe <[EMAIL PROTECTED]> wrote: > > Hello. > > > > I have adopted 2 systems both with their own databases with similar > data. I have been asked to make a query that requires comparing data > from one database with data from the other. I will eventually > consolidate the two databases. But for now I need to run a Q over the > two databases, they both sit under the same datasource, this is Oracle > 9i. > > > > I have done it like this but can't help feeling there should be a better > way, any advice?# > > > > Select profile.profileId > > From profile, otherDatabase.company > > Where > > Profile.profileid = otherDatabase.company.profileid > > > > Thanks for reading > > Cheers > > Martin > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239366 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

