Solved

ODBC,DAO,RDO and ADO

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Connect to SQL 2008 r2 server over the Internet 4 83
Error 438 6 52
Joomla installation cannot see any mysql databases 4 60
Oracle SQL-Queries on a RAC Database 3 47
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
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…

738 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