Retrieves whether this database supports the CONVERT for two given SQL types.

public boolean supportsConvert(int fromType,
                               int toType)

Parameters

fromType

The JDBC type to convert from.

toType

The JDBC type to convert to.

Return Value

True if supported. Otherwise, false.

Exceptions

SQLServerException

Remarks

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

See Also