数据源名称和 64 位操作系统Data Source Names and 64-Bit Operating Systems
适用于:Applies to: SQL ServerSQL Server(所有支持的版本)
SQL ServerSQL Server (all supported versions)
Azure SQL 数据库Azure SQL Database
Azure SQL 数据库Azure SQL Database
Azure SQL 托管实例Azure SQL Managed Instance
Azure SQL 托管实例Azure SQL Managed Instance
Azure Synapse AnalyticsAzure Synapse Analytics
Azure Synapse AnalyticsAzure Synapse Analytics
并行数据仓库Parallel Data Warehouse
并行数据仓库Parallel Data Warehouse
SQL ServerSQL Server(所有支持的版本)
SQL ServerSQL Server (all supported versions)
Azure SQL 数据库Azure SQL Database
Azure SQL 数据库Azure SQL Database
Azure SQL 托管实例Azure SQL Managed Instance
Azure SQL 托管实例Azure SQL Managed Instance
Azure Synapse AnalyticsAzure Synapse Analytics
Azure Synapse AnalyticsAzure Synapse Analytics
并行数据仓库Parallel Data Warehouse
并行数据仓库Parallel Data Warehouse
如果您要将某一应用程序构建为在 64 位操作系统上运行的 32 位应用程序并运行该应用程序,则必须使用 %windir%\SysWOW64\odbcad32.exe 中的 ODBC 管理器创建 ODBC 数据源。To build and run an application as a 32-bit application on a 64-bit operating system, you must create the ODBC data source with the ODBC Administrator in %windir%\SysWOW64\odbcad32.exe.
备注Remarks
64 位 Windows 操作系统具有以下两个 odbcad32.exe 文件:A 64-bit Windows operating system has two odbcad32.exe files:
%SystemRoot%\system32\odbcad32.exe 用于为 64 位应用程序创建和维护数据源名称。%SystemRoot%\system32\odbcad32.exe is used to create and maintain data source names for 64-bit applications.
%SystemRoot%\SysWOW64\odbcad32.exe 用于为 32 位应用程序(包括在 64 位操作系统上运行的 32 位应用程序)创建和维护数据源名称。%SystemRoot%\SysWOW64\odbcad32.exe is used to create and maintain data source names for 32-bit applications, including 32-bit applications that run on 64-bit operating systems.
另请参阅See Also
SQL Server Native Client (ODBC)SQL Server Native Client (ODBC)