Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Answer: What is the difference between ADO and ODBC ?

by CubicSpline (Friar)
on Oct 09, 2001 at 17:00 UTC ( #117717=categorized answer: print w/replies, xml ) Need Help??

Q&A > database programming > What is the difference between ADO and ODBC ? - Answer contributed by CubicSpline

While ADO and ODBC are both Microsoft standards, ODBC is a de facto standard across most platforms. ADO is a set of COM objects (read Windows-only) that wrap ODBC functionality into tight little objects. ADO is a quick and easy way to set up database access in a windows environment. If you're programming in Windows, then you're set either way. However it is widely considered that you'll get better performance using straight ODBC rather than using ADO.

As far as your problems connecting to your database, I don't quite understand what you're saying. You are in control of your own DSNs. If you have an Access database sitting on a server, you can create your own DSN using the ODBC Data Source control panel. You choose the ODBC driver, the server that hosts your database, and then choose the path to the database itself.

  • Comment on Answer: What is the difference between ADO and ODBC ?
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[thezip]: Is there an analogy for '&' (ie. run commandline process in background) for Windows commandline?

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (14)
As of 2017-03-27 18:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (321 votes). Check out past polls.