getDatabaseMajorVersion Method (SQLServerDatabaseMetaData)

Retrieves the major version number of the underlying database.


public int getDatabaseMajorVersion()

An int that indicates the database major version.

This getDatabaseMajorVersion method is specified by the getDatabaseMajorVersion method in the java.sql.DatabaseMetaData interface.

Show: