Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 1.85 KB

getbigdecimal-method-java-lang-string-int.md

File metadata and controls

53 lines (38 loc) · 1.85 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic apilocation apiname apitype
getBigDecimal Method (java.lang.String, int)
getBigDecimal Method (java.lang.String, int)
David-Engel
davidengel
01/19/2017
sql
connectivity
reference
sqljdbc.jar
SQLServerCallableStatement.getBigDecimal (java.lang.String, int)
Assembly

getBigDecimal Method (java.lang.String, int)

[!INCLUDEDriver_JDBC_Download]

Retrieves the value of the designated parameter as java.math.BigDecimal given the parameter name and scale.

Note

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

Syntax

  
public java.math.BigDecimal getBigDecimal(java.lang.String sCol,  
                                          int scale)  

Parameters

sCol

A String that contains the parameter name.

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