Article View: borland.public.cppbuilder.database.ado
Article #489Re: To use ODBC or ADO?
From: Viatcheslav V. Vassiliev
Date: Thu, 18 Aug 2005 06:44
Date: Thu, 18 Aug 2005 06:44
46 lines
3016 bytes
3016 bytes
Oracle has its own OLEDB provider and another OLEDB provider is included in MDAC (Microsoft Data Access Components, setup for OLEDB/ADO). The first one should be distributed with your application, second is installed yet on most computers or can be installed with MDAC. MS SQL Server is one of DBMS ADO was developed for, OLEDB provider for it is included in MDAC. //------------------------------------------ Regards, Vassiliev V. V. http://www.managed-vcl.com - using .Net objects in Delphi for Win32 + ADO.Net http://www.oledbdirect.com - The fastest way to access MS SQL Server, MS Jet (Access) and Interbase (through OLEDB) "Foo Tze Wan" <twfoo@nospam.com> �������/�������� � �������� ���������: news:4303e931@newsgroups.borland.com... > Thanks, Arnie for your reply. > >>It's more like "ADO over ODBC", and yes, you can do it, though >>most will recommend against it. MS provides an OLEDB driver for >>"generic ODBC". It can be used with Borland's ADO. You'd >>probably be better off using the OLEDB provider supplied by the >>manufacturer if you support other DBs. > > The reason why I thought my application should retain ODBC connectivity to > databases is because these databases are ODBC compliant only, but not > OLEDB. > (Perhaps, I have not been in tune with newer data access technologies.) > The > databases we envision we will be using are Oracle and SQLServer. After > some > brief searces on the web, I think they should also support OLEDB. > >>If you go with ADO, you'll have to do sime fiddling with the >>query or dataset properties in order to get good performance. >>These include cursor location and type as well as locking mode >>and cache size. > > I will try with ADO, and when these issues arise, will grapple with them. > I > hope help from here and the web can be easily found then. > > Thanks again, > Tze Wan > >
Technical Details
Message-ID:
<43042e5b@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<4302e629@newsgroups.borland.com> <43036726@newsgroups.borland.com> <4303e931@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,814166c1bc0fe9b5 X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com> Newsgroups: borland.public.cppbuilder.database.ado References: <4302e629@newsgroups.borland.com> <43036726@newsgroups.borland.com> <4303e931@newsgroups.borland.com> Subject: Re: To use ODBC or ADO? Date: Thu, 18 Aug 2005 10:44:55 +0400 Lines: 48 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 85.93.138.132 Message-ID: <43042e5b@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1124347483 85.93.138.132 (17 Aug 2005 23:44:43 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail