getBigDecimal Method (int, int)

Download JDBC driver

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