Solved

ODBC,DAO,RDO and ADO

Posted on 1999-01-25
5
2,118 Views
Last Modified: 2009-07-29
Hello!

What is difference between ODBC,DAO,RDO and ADO? Which one is most efficient with Oracle database? Which one can be used for a web based application?

Thank you,

Prajakt
0
Comment
Question by:prajakt012599
5 Comments
 
LVL 10

Expert Comment

by:Lischke
ID: 1026342
At least for two of the acronyms I can tell you what is meant. ODBC is the "ground plane" for DAO (and perhaps the others too). It supplies the basic database access over OLE. DAO stands for data access objects and is, afaik, designed for Visual Basic (which is used as programming language in Word, Excel etc.).

I'd recommend using ODBC drivers (but might be wrong) or even better it you have native database drivers for Oracle then use them (they will be much faster than ODBC).

Ciao, Mike
0
 
LVL 3

Expert Comment

by:cognition
ID: 1026343
If you put the two questions by mistake, you can correct this by going to the customer services area.

0
 
LVL 1

Expert Comment

by:Seeker092397
ID: 1026344
If you wanna stay tuned with Microsoft use ADO/RDO.
Go to http://www.microsoft.com/ado

0
 

Expert Comment

by:jdev011599
ID: 1026345
What are you using to power your website? It may make a difference.
I recommend a native driver if you can make it work with your tools, otherwise,
ODBC is a better choice than DAO with Oracle, afaik, DAO goes through ODBC
to talk with Oracle. So you get an extra level to slow you down. DAO is supreme for file based databases, but slower with SQL databases. as for ADO/RDO, I can't say.

best regards,
jdev
0
 
LVL 1

Accepted Solution

by:
MAD012999 earned 100 total points
ID: 1026346
ADO is the only way to go (for now and the immediate future).  You will still need to setup an ODBC 'System DSN' to open the ADO connection.  You might need to experiment and try various Microsoft ODBC drivers for Oracle and those from Oracle.  I have experienced quirks from the older versions from both vendors.  If you use the latest ODBC driver available from either Microsoft or Oracle, you should be fine.  I do this all of the time in ASP accessing Oracle databases.  Click my name to see my profile. BTW (By The Way):  ADO means 'ActiveX Data Objects' and is the newest option from Microsoft and replaces both DAO (Data Access Objects) and RDO (Remote Data Objects).  Below is a simple ASP example using VBScript - is it adequate?

Set DataConn = Server.CreateObject("ADODB.Connection")
DataConn.ConnectionTimeout = 60
DataConn.CommandTimeout = 60
DataConn.Open "DSN=SystemDSNName;", "OptionalUser", "OptionalPassword"

Set rsMain = DataConn.Execute("Select * from ""TableName""",,1)
do while not rsMain.EOF
   TempValue = rsMain("FieldName")
loop
DataConn.Close

I hope this helps and Good Luck,
Mike
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Join & Write a Comment

Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now