Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 1.59 KB

File metadata and controls

52 lines (39 loc) · 1.59 KB
title isCurrency Method (SQLServerResultSetMetaData) | 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
SQLServerResultSetMetaData.isCurrency
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 7fe25d90-693c-4d3b-9dd2-0f8351c5a9ed
author David-Engel
ms.author v-daenge

isCurrency Method (SQLServerResultSetMetaData)

[!INCLUDEDriver_JDBC_Download]

Indicates whether the designated column is a cash value.

Syntax

  
public boolean isCurrency(int column)  

Parameters

column

An int that indicates the column index.

Return Value

true if the column is a cash value. Otherwise, false.

Exceptions

SQLServerException

Remarks

This isCurrency method is specified by the isCurrency method in the java.sql.ResultSetMetaData interface.

This method will return true only with [!INCLUDEssNoVersion] money and smallmoney data types.

See Also

SQLServerResultSetMetaData Methods
SQLServerResultSetMetaData Members
SQLServerResultSetMetaData Class