Retrieves the maximum number of rows that a SQLServerResultSet object that is produced by this SQLServerStatement object can contain.
public final int getMaxRows()
Return Value
An integer that indicates the maximum number of rows, or 0 if there is no limit.
Exceptions
Remarks
This getMaxRows method is specified by the getMaxRows method in the java.sql.Statement interface.