Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.57 KB

File metadata and controls

35 lines (23 loc) · 1.57 KB
title Getting the driver version
description Learn how and where to find the version of the Microsoft JDBC Driver for SQL Server.
author David-Engel
ms.author davidengel
ms.date 07/31/2024
ms.service sql
ms.subservice connectivity
ms.topic concept-article

Getting the driver version

[!INCLUDEDriver_JDBC_Download]

The version of the installed [!INCLUDEjdbcNoVersion] can be found in the following ways:

Also, the JDBC driver name can be returned from the getDriverName method call on the SQLServerDatabaseMetaData class. It returns, for example, "Microsoft JDBC Driver 12.8 for SQL Server".

The following lines are example output from calls to the methods of the SQLServerDatabaseMetaData class:

getDriverName = Microsoft JDBC Driver 12.8 for SQL Server

getDriverMajorVersion = 12

getDriverMinorVersion = 8

getDriverVersion = 12.8.xxx.x (Where "xxx.x" is the final version number)

See also

Diagnosing problems with the JDBC driver