Getting the Driver Version

The version of the installed Microsoft SQL Server 2005 JDBC Driver 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 SQL Server 2005 JDBC Driver".

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

getDriverName = Microsoft SQL Server 2005 JDBC Driver

getDriverMajorVersion = 1

getDriverMinorVersion = 0

getDriverVersion = 1.0. xxx.x

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

See Also

Other Resources

Diagnosing Problems with the JDBC Driver