共用方式為


getMaxFieldSize Method (SQLServerStatement)

Retrieves the maximum number of bytes that can be returned for character and binary column values in a SQLServerResultSet object that is produced by this SQLServerStatement object.

public final int getMaxFieldSize()

傳回值

An int that indicates the maximum number of bytes that a column can contain, or 0 if there is no limit.

例外狀況

SQLServerException

備註

This getMaxFieldSize method is specified by the getMaxFieldSize method in the java.sql.Statement interface.

另請參閱

參考

SQLServerStatement Class

概念

SQLServerStatement Methods
SQLServerStatement Members