下载 Microsoft SQL Server JDBC 驱动程序Download Microsoft JDBC Driver for SQL Server

Microsoft JDBC Driver for SQL Server 是一个 Type 4 JDBC 驱动程序,它通过 Java 平台中可用的标准 JDBC 应用程序编程接口 (API) 提供数据库连接。The Microsoft JDBC Driver for SQL Server is a Type 4 JDBC driver that provides database connectivity through the standard JDBC application program interfaces (APIs) available on the Java platform. 所有用户都可以免费下载驱动程序。The driver downloads are available to all users at no additional charge. 通过这些程序,用户可以从任何 Java 应用程序、应用程序服务器或支持 Java 的小程序访问 SQL Server。They provide access to SQL Server from any Java application, application server, or Java-enabled applet.

下载Download

版本 8.4 是最新正式发布版 (GA)。Version 8.4 is the latest general availability (GA) version. 它支持 Java 8、11 和 14。It supports Java 8, 11, and 14. 如果需要在更低的 Java 运行时版本上运行,请参阅 Java 和 JDBC 规范支持矩阵,查看是否存在可以使用的受支持的驱动程序版本。If you need to run on a Java runtime older than that, see the Java and JDBC specification support matrix to see if there is a supported driver version you can use. 我们在不断改进 Java 连接支持。We are continually improving Java connectivity support. 因此,强烈建议使用最新版 Microsoft JDBC Driver。As such we highly recommend that you work with the latest version of Microsoft JDBC driver.

下载下载 Microsoft JDBC Driver 8.4 for SQL Server (zip)Download Download Microsoft JDBC Driver 8.4 for SQL Server (zip)
下载下载 Microsoft JDBC Driver 8.4 for SQL Server (tar.gz)Download Download Microsoft JDBC Driver 8.4 for SQL Server (tar.gz)

版本信息Version information

  • 版本号:8.4.1Release number: 8.4.1
  • 发布日期:2020 年 8 月 27 日Released: August 27, 2020

下载此驱动程序时,有多个 JAR 文件。When you download the driver, there are multiple JAR files. JAR 文件名表示它支持的 Java 版本。The name of the JAR file indicates the version of Java that it supports.

备注

如果你正从一个非英语的语言版本访问此页面并想要查看最新内容,请访问此网站的英语(美国)版本If you are accessing this page from a non-English language version, and want to see the most up-to-date content, please visit the US-English version of the site. 可以通过选择可用语言从英语(美国)版本站点下载不同的语言。You can download different languages from the US-English version site by selecting available languages.

可用语言Available languages

此版本的 Microsoft JDBC Driver for SQL Server 提供以下语言版本:This release of Microsoft JDBC Driver for SQL Server is available in the following languages:

Microsoft JDBC Driver 8.4.1 for SQL Server (zip):中文(简体) | 中文(繁体) | 英语(美国) | 法语 | 德语 | 意大利语 | 日语 | 朝鲜语 | 葡萄牙语(巴西) | 俄语 | 西班牙语Microsoft JDBC Driver 8.4.1 for SQL Server (zip): Chinese (Simplified) | Chinese (Traditional) | English (United States) | French | German | Italian | Japanese | Korean | Portuguese (Brazil) | Russian | Spanish

Microsoft JDBC Driver 8.4.1 for SQL Server (tar.gz):中文(简体) | 中文(繁体) | 英语(美国) | 法语 | 德语 | 意大利语 | 日语 | 朝鲜语 | 葡萄牙语(巴西) | 俄语 | 西班牙语Microsoft JDBC Driver 8.4.1 for SQL Server (tar.gz): Chinese (Simplified) | Chinese (Traditional) | English (United States) | French | German | Italian | Japanese | Korean | Portuguese (Brazil) | Russian | Spanish

发行说明Release notes

有关此版本的详细信息,请参阅发行说明系统要求For details about this release, see the release notes and system requirements.

以前的版本Previous releases

若要下载早期版本,请参阅 Microsoft JDBC Driver for SQL Server 的早期版本To download previous releases, see previous Microsoft JDBC Driver for SQL Server releases.

结合使用 JDBC 驱动程序与 Maven CentralUsing the JDBC driver with Maven Central

JDBC 驱动程序可以添加到 Maven 项目,具体方法是通过使用以下代码将它作为依赖项添加到 POM.xml 文件中:The JDBC driver can be added to a Maven project by adding it as a dependency in the POM.xml file with the following code:

<dependency>
    <groupId>com.microsoft.sqlserver</groupId>
    <artifactId>mssql-jdbc</artifactId>
    <version>8.4.1.jre11</version>
</dependency>

不受支持的驱动程序Unsupported drivers

无法从此处下载不受支持的驱动程序版本。Unsupported driver versions are not available for download here. 我们在不断改善 Java 连接支持。We are continually improving the Java connectivity support. 因此,强烈建议使用最新版 Microsoft JDBC Driver。As such we highly recommend that you work with the latest version of Microsoft JDBC driver.

后续步骤Next steps

若要详细了解 Microsoft JDBC Driver for SQL Server,请参阅 JDBC 驱动程序概述JDBC 驱动程序 GitHub 存储库For more information about the Microsoft JDBC Driver for SQL Server, see Overview of the JDBC driver and the JDBC driver GitHub repository.