Solved

ODBC,DAO,RDO and ADO

Posted on 1999-01-25
5
2,136 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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Error Creating Foreign Keys in SQL Database 7 45
form builder not starting 3 56
physical_device_name field in SQL 3 30
Exchange database won't mount 4 25
I guess that all of us know that caching the data usually increase the performance, but I worried if all of us are aware about the risk that caching the data provides and how to minimize this.  That’s the reason why I decided to write this short art…
This article describes some very basic things about SQL Server filegroups.
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…

821 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