共用方式為


getBigDecimal Method (int) (SQLServerResultSet)

Retrieves the value of the designated column index in the current row of this SQLServerResultSet object as a java.math.BigDecimal with full precision.

public java.math.BigDecimal getBigDecimal(int columnIndex)

參數

columnIndex

An int that indicates the column index.

傳回值

A BigDecimal object.

例外狀況

SQLServerException

備註

This getBigDecimal method is specified by the getBigDecimal method in the java.sql.ResultSet interface.

另請參閱

參考

SQLServerResultSet Class

概念

getBigDecimal Method (SQLServerResultSet)
SQLServerResultSet Methods
SQLServerResultSet Members