Article View: borland.public.cppbuilder.database.ado
Article #2455Re: heterogenous SQL queries
From: Yahia El-Qasem
Date: Fri, 20 Jun 2003 17:06
Date: Fri, 20 Jun 2003 17:06
44 lines
2714 bytes
2714 bytes
The only way ( I know of ) to achieve this with ADO ( and any other DB connection layer ) depends on serverside options for example : With Oracle you could create something called "Database link" - I use this feature to connect between oracle instances... : SELECT * FROM TABLE1 A, TABLE2@DBLINK B WHERE B.ID = A.ID As far as I read there are options available from oracle to make this feature work with DB Servers from other vendors too... Something similar is available in Sybase etc... With ADO another options could be ( it is really not a good one ) : - Execute the SELECTs and put the results into a locally created MDB-file... - Execute the JOINs with the local file... It is a bit similar to the implementation in BDE ( the BDE relies on clientside cursors to implement "heterogenous SQL" )... Yahia "Pavel Stejgerle" <pavel.stejgerle@tribut.cz> schrieb im Newsbeitrag news:3ef2b4e6@newsgroups.borland.com... > I use personally Sybase and Paradox on my computer, but our Software Product > should be Database independent (and with BDE is), up to now was tested with > Sybase, Paradox, Oracle, MS SQL. > > PS > > "Yahia El-Qasem" <Yahia.El-Qasem@mgh.metro-ag.de> wrote in message > news:3ef1a6f2@newsgroups.borland.com... > > This sort of query uses a special feature of BDE... ADO does not have > > anything similar... > > > > What sort Databases ( Oracle / Sybase... ) are you querying ? > > Perhaps there is some other solution for this... > > > > > >
Technical Details
Message-ID:
<3ef33f67$2@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!216.170.153.135.MISMATCH!tdsnet-transit!newspeer.tds.net!newspeer.radix.net!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3ef175c5$1@newsgroups.borland.com> <3ef1a6f2@newsgroups.borland.com> <3ef2b4e6@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,7637cac091d12d16 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2003-06-20 10:10:18 PST Reply-To: "Yahia El-Qasem" <Yahia.El-Qasem@mgh.metro-ag.de> From: "Yahia El-Qasem" <Yahia.El-Qasem@mgh.metro-ag.de> Newsgroups: borland.public.cppbuilder.database.ado References: <3ef175c5$1@newsgroups.borland.com> <3ef1a6f2@newsgroups.borland.com> <3ef2b4e6@newsgroups.borland.com> Subject: Re: heterogenous SQL queries Date: Fri, 20 Jun 2003 19:06:32 +0200 Lines: 46 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 217.230.122.24 Message-ID: <3ef33f67$2@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1056128871 217.230.122.24 (20 Jun 2003 10:07:51 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!216.170.153.135.MISMATCH!tdsnet-transit!newspeer.tds.net!newspeer.radix.net!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail