Skip to content

Latest commit

 

History

History
58 lines (43 loc) · 1.94 KB

File metadata and controls

58 lines (43 loc) · 1.94 KB
title getBigDecimal Method (int, int) (SQLServerResultSet) | 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
SQLServerResultSet.getBigDecimal (int, int)
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid c99d0772-b26c-492c-a643-2813b5429993
author David-Engel
ms.author v-daenge

getBigDecimal Method (int, int) (SQLServerResultSet)

[!INCLUDEDriver_JDBC_Download]

Retrieves the value of the designated column index in the current row of this SQLServerResultSet object using the given scale.

Note

This method has been deprecated from the JDBC specification. Instead, you should use the getBigDecimal (int) method.

Syntax

  
public java.math.BigDecimal getBigDecimal(int columnIndex,  
                                          int scale)  

Parameters

columnIndex

An int that indicates the column index.

scale

An int that indicates the number of digits to the right of the decimal point.

Return Value

A BigDecimal object.

Exceptions

SQLServerException

Remarks

This getBigDecimal method is specified by the getBigDecimal method in the java.sql.ResultSet interface.

See Also

getBigDecimal Method (SQLServerResultSet)
SQLServerResultSet Members
SQLServerResultSet Class