Redigera

Dela via


getBigDecimal Method (java.lang.String, int) (SQLServerResultSet)

Download JDBC driver

Retrieves the value of the designated column name 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 (java.lang.String) method.

Syntax

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

Parameters

columnName

A String that contains the column 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.ResultSet interface.

See Also

getBigDecimal Method (SQLServerResultSet)
SQLServerResultSet Members
SQLServerResultSet Class