共用方式為


getBigDecimal Method (int, int)

Retrieves the value of the designated parameter as java.math.BigDecimal given the parameter index and scale.

注意

This method has been deprecated from the JDBC specification. Instead, you should use the getBigDecimal (int) method.

public java.math.BigDecimal getBigDecimal(int index,
                                          int scale)

參數

index

An int that indicates the parameter index.

scale

An int that indicates the number of digits to the right of the decimal point.

傳回值

A BigDecimal object.

例外狀況

SQLServerException

備註

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

另請參閱

參考

SQLServerCallableStatement Class

概念

getBigDecimal Method (SQLServerCallableStatement)
SQLServerCallableStatement Methods
SQLServerCallableStatement Members