Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2016-12-05 17:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (89 votes). Check out past polls.