getColumnDisplaySize Method (SQLServerResultSetMetaData)

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

Syntax

public int getColumnDisplaySize(int column)

Parameters

column

An int that indicates the column index.

Return Value

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

Exceptions

SQLServerException

Remarks

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

Microsoft SQL Server JDBC Driver 3.0 has behavior changes in the COLUMN_SIZE column. See SQLServerDatabaseMetaData.getColumns for more information.

See Also

Reference

SQLServerResultSetMetaData Class

Concepts

SQLServerResultSetMetaData Members