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
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
SQLServerResultSetMetaData Members
SQLServerResultSetMetaData Class
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for