Meanings of user DSN, system DSN, and file DSN in ODBC

Source: Internet
Author: User

ODBC (Open Database Connectivity, ODBC) means open database Interconnection

DSN (data source name) is the data source name

ODBC contains user DSN, system DSN, and file DSN.Three data sources.

The meaning of user DSN is to save the corresponding configuration to the Windows registry. It is only for the user who creates the DSN to log on. (User DSN is saved in the Registry under HKEY_CURRENT_USER)

The meaning of the system DSN is to save the corresponding configuration to the registry of the system, which is different from the user DSN that allows users who have logged on to the Service to use. (The system DSN is saved in the Registry HKEY_LOCAL_MACHINE)

The file DSN indicates that the corresponding configuration is saved to a file on the hard disk. The file DSN allows all users who have logged on to the Service to use it, it also provides database DSN access support for users who have not logged on to the service. In addition, the file DSN can be copied to other machines (files can be shared within the network ). In this way, you can directly use the DSN created on other machines without making any changes to the system registry.

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.