ResultSet.getBigDecimal
Interface Overview | Interface Members |
This Package |
All Packages
public abstract BigDecimal getBigDecimal( int columnIndex,
int scale ) throws SQLException
Parameters
- columnIndex
- the first column is 1, the second is 2, ...
- scale
- the number of digits to the right of the decimal
Returns
the column value; if the value is SQL NULL, the result is null
Description
Get the value of a column in the current row as a java.lang.BigDecimal object.
Exceptions
SQLException
if a database-access error occurs.