共用方式為


isSearchable Method (SQLServerResultSetMetaData)

Indicates whether the designated column can be used in an SQL WHERE clause.

public boolean isSearchable(int column)

參數

column

An int that indicates the column index.

傳回值

true if the column the column can be used in a WHERE clause. Otherwise, false.

例外狀況

SQLServerException

備註

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

另請參閱

參考

SQLServerResultSetMetaData Class

概念

SQLServerResultSetMetaData Methods
SQLServerResultSetMetaData Members