getBigDecimal Method (java.lang.String, int)

Download JDBC driver

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