共用方式為


getPrecision Method (SQLServerResultSetMetaData)

Get the designated column's number of decimal digits.

public int getPrecision(int column)

參數

column

An int that indicates the column index.

傳回值

An int that indicates the precision of the column.

例外狀況

SQLServerException

備註

This getPrecision method is specified by the getPrecision method in the java.sql.ResultSetMetaData interface.

另請參閱

參考

SQLServerResultSetMetaData Class

概念

SQLServerResultSetMetaData Methods
SQLServerResultSetMetaData Members