What is the difference between odbc and ole db when connecting to a database?

Source: Internet
Author: User
Tags ole
It is worth noting that ole db is compatible with ODBC and allows ole db to access existing ODBC data sources. The advantage is obvious, because ODBC is more common than ole db, the ODBC driver can be obtained correspondingly more than ole db. In this way, you do not have to get the ole db Driver to immediately access the original data system.
The provider is at the ole db layer, while the driver is at the ODBC layer. If you want to use an ODBC data source, you need to use the ole db Provider for ODBC, which then uses the corresponding ODBC driver. If you do not need an ODBC data source, you can use the corresponding ole db provider, which is usually called the local provider ).
It can be clearly seen that the use of ODBC providers requires an additional layer. Therefore, when accessing the same data, the ole db Provider for ODBC may be slower than the local ole db provider.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.