getSQLStateType Method (SQLServerDatabaseMetaData)

Indicates whether the SQLSTATE that is returned by the SQLException.getSQLState method is X/Open (now known as Open Group), SQL CLI, or SQL99.

public int getSQLStateType()

Return Value

An int that indicates the type of SQLSTATE, which can be one of the following values:

DatabaseMetaData.SQL_STATE_XOPEN

DatabaseMetaData.SQL_STATE_SQL99

Exceptions

SQLServerException

Remarks

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

See Also

Reference

SQLServerDatabaseMetaData Class

Concepts

SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members