Getting the driver version
The version of the installed Microsoft JDBC Driver for SQL Server can be found in the following ways:
Call the SQLServerDatabaseMetaData methods getDriverMajorVersion, getDriverMinorVersion, or getDriverVersion.
The version is displayed in the readme.txt file of the product distribution.
Also, the JDBC driver name can be returned from the getDriverName method call on the SQLServerDatabaseMetaData class. It will return, for example, "Microsoft JDBC Driver 6.4 for SQL Server".
The following lines are example output from calls to the methods of the SQLServerDatabaseMetaData class:
getDriverName
= Microsoft JDBC Driver 6.4 for SQL Server
getDriverMajorVersion
= 9
getDriverMinorVersion
= 2
getDriverVersion
= 9.2.xxx.x (Where "xxx.x" is the final version number)
See also
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin