共用方式為


isCurrency Method (SQLServerResultSetMetaData)

Indicates whether the designated column is a cash value.

public boolean isCurrency(int column)

參數

column

An int that indicates the column index.

傳回值

true if the column is a cash value. Otherwise, false.

例外狀況

SQLServerException

備註

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

This method will return true only with SQL Server money and smallmoney data types.

另請參閱

參考

SQLServerResultSetMetaData Class

概念

SQLServerResultSetMetaData Methods
SQLServerResultSetMetaData Members