Skip to content

Latest commit

 

History

History
58 lines (43 loc) · 1.86 KB

File metadata and controls

58 lines (43 loc) · 1.86 KB
title getBigDecimal 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
SQLServerCallableStatement.getBigDecimal (int, int)
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid d9351b35-7046-4852-a612-72d4c46b2bbb
author David-Engel
ms.author v-daenge

getBigDecimal Method (int, int)

[!INCLUDEDriver_JDBC_Download]

Retrieves the value of the designated parameter as java.math.BigDecimal given the parameter index and 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 index,  
                                          int scale)  

Parameters

index

An int that indicates the parameter 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.CallableStatement interface.

See Also

getBigDecimal Method (SQLServerCallableStatement)
SQLServerCallableStatement Members
SQLServerCallableStatement Class