ODBC (Open Database Connectivity)
DSN (data source name)
The ODBC Data Source manager provides three DSN types: User DSN, system DSN, and file DSN.
1. the user DSN will save the corresponding configuration information in the Windows registry, but
ODBC (Open Database Connectivity, ODBC) means open database InterconnectionDSN (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
Dynamically set ODBC data sources in the Delphi Program
In the Delphi Database Application, we usually have two methods to access the database. one is through the BDE database search engine, that is, using the database driver that comes with
64-bit Machine ODBC operation method and 32-bit machine is not the same, if directly from the Control Panel-Administrator tool-ODBC into the user DSN and the System DSN is empty, add when even ODBC driver can not be found, the correct method should
odbc| Data | Data source several methods for registering ODBC data sources
National Defense Hkust Dinghao
ODBC (Open DB connectivity, open Database interconnection) is an application interface (API) specification. It defines a standard set of
You can obtain the DSN list in C #, or pop up the ODBC data source Manager to set it.
1. C # obtain the DSN list on the machine.
Use registrykey and Registry provided by Microsoft. Win32 to access the system registry to obtain the list of ODBC data
(DSN) Data Source NameThe ODBC Data Source Administrator provides three types of DSNs, User DSN, System DSN, and File DSN, respectively.whichThe user DSN saves the appropriate configuration information in the Windows registry, but only the logged-on
In the Delphi database application, we usually have two ways to access the database. One is through the BDE database search engine, that is, using Delphi's own database driver, the advantage of this method is fast, but the scope of application is
This page contains more information about setting up and using the ODBC Connector hive. This page contains the following topics: Before you start the SQL Connector software and hardware requirements to install and configure authentication in DSN
To create a data source nameTo connect to a database by using ASP pages, you must first create a data source name (DSN) on the WEB server for the type of database that you want to connect to. To do this, use one of the following methods.To create a
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.