Retrieves the major version number of the underlying database.

public int getDatabaseMajorVersion()

Return Value

An integer that indicates the database major version.

Exceptions

SQLServerException

Remarks

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

See Also