Getting the Driver Version
The version of the installed Microsoft JDBC Driver for SQL Server can be found in the following ways:
The version is displayed in the readme.txt file of the product distribution.
In addition, 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 is an example of the output from calls to the methods of the SQLServerDatabaseMetaData class:
getDriverName = Microsoft JDBC Driver 6.4 for SQL Server
getDriverMajorVersion = 6
getDriverMinorVersion = 4
getDriverVersion = 6.4.xxx.x
Where "xxx.x" is the final version number.