Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

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?

What's my password?
Create A New User
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2016-10-24 07:33 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (303 votes). Check out past polls.