getMaxRows Method (SQLServerStatement)
Retrieves the maximum number of rows that a SQLServerResultSet object that is produced by this SQLServerStatement object can contain.
Syntax
public final int getMaxRows()
Return Value
An int 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.
This getMaxRows method always returns 0 for dynamic scrollable cursors.
See Also
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