Solved

ODBC,DAO,RDO and ADO

Posted on 1999-01-25
5
2,182 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
Azure Functions is a solution for easily running small pieces of code, or "functions," in the cloud. This article shows how to create one of these functions to write directly to Azure Table Storage.
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…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

623 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