Generates the JDBC state code based on the error number that is returned from the database.
public static java.lang.String generateStateCode(SQLServerConnection con, int errNum, int databaseState)
Parameters
con
An SQLServerConnection object.
errNum
An integer that contains the error number.
databaseState
An integer contains the database state.
Return Value
A string that contains the state code.