Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 1.55 KB

File metadata and controls

51 lines (37 loc) · 1.55 KB
title supportsConvert Method (int, int)
description supportsConvert Method (int, int)
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerDatabaseMetaData.supportsConvert (int, int)
apitype Assembly

supportsConvert Method (int, int)

[!INCLUDEDriver_JDBC_Download]

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

Syntax

  
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

supportsConvert Method (SQLServerDatabaseMetaData)
SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members
SQLServerDatabaseMetaData Class