Re: Regarding Database Connection
- From: "Ralph" <nt_consulting64@xxxxxxxxx>
- Date: Tue, 21 Mar 2006 04:24:50 -0600
<chintu4uin@xxxxxxxxx> wrote in message
news:1142916157.098993.307850@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi I m new to programming please help me.
How many types Database connectivity are there using ADO and give
examples of each to understand it.
Is this are the type of Database connectivity
1)Connection String
2)ODBC..
Please help me......
Your terminology is a bit off.
All data access is based on a series of layers of 'access' from software to
the data store. ADO or ActiveX Data Objects is a Data Access Library which,
based on MS's concept of Universal Data Access can 'access' a variety of
data stores using a common object model.
Classic ADO uses OLE DB (COM) providers. MS's latest version of ADO, ADO.Net
uses 'managed providers' which present a similar interface as OLE DB. But as
far as ADO is concerned that is where the 'layer' stops.
Various data stores can supply various kinds of providers or drivers - Jet,
ODBC, CLI, ... (odbc itself is a specification not any one implementation),
so you could have a cartisian product of 'connectivity' schemes. For
example, You could have for an Oracle database the following...
The Oracle CLI engine -> ODBC driver -> OLE DB/ODBC provider -> ADOclassic.
But this would be rather silly as it would be best to use...
The Oracle CLI engine -> Oracle OLE DB provider -> ADO.
Providers themselves can be initiatialized with a variety of means
(connection strings, DSN, UDLs, iNet, ...)
So each of your 'connectivites' actually represents just one piece of the
multiple layers and how they might be implemented.
hth
-ralph
.
- References:
- Regarding Database Connection
- From: chintu4uin
- Regarding Database Connection
- Prev by Date: Re: error 3704 when trying to set closed recordset/connection object t
- Next by Date: how to connect sql server data base via ADO?
- Previous by thread: Regarding Database Connection
- Next by thread: how to connect sql server data base via ADO?
- Index(es):
Relevant Pages
|