共用方式為


getColumnDisplaySize Method (SQLServerResultSetMetaData)

Returns the normal maximum width, in characters, for the designated column.

public int getColumnDisplaySize(int column)

參數

column

An int that indicates the column index.

傳回值

An int that indicates the maximum width. If the width is not known, returns 0.

例外狀況

SQLServerException

備註

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

另請參閱

參考

SQLServerResultSetMetaData Class

概念

SQLServerResultSetMetaData Methods
SQLServerResultSetMetaData Members