Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

Getting the Driver Version

The version of the installed Microsoft JDBC Driver for SQL Server can be found in the following ways:

In addition, the JDBC driver name can be returned from the getDriverName method call on the SQLServerDatabaseMetaData class. It will return "Microsoft JDBC Driver 4.0 for SQL Server".

The following is an example of the output from calls to the methods of the SQLServerDatabaseMetaData class:

getDriverName = Microsoft JDBC Driver 4.0 for SQL Server

getDriverMajorVersion = 4

getDriverMinorVersion = 0

getDriverVersion = 4.0. xxx.x

Where "xxx.x" is the final version number.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.