Skip to content

Latest commit

 

History

History
56 lines (42 loc) · 1.68 KB

File metadata and controls

56 lines (42 loc) · 1.68 KB
title supportsConvert Method (int, int) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
apiname
SQLServerDatabaseMetaData.supportsConvert (int, int)
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 54741cfd-32ac-46c5-8b09-fd60fd8833d7
author David-Engel
ms.author v-daenge

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