getMaxRows()
Syntax:
int getMaxRows() throws SQLException
Description:
Retrieves the maximum number of rows that a ResultSet
object produced by this Statement
object can contain. If this limit is exceeded, the excess rows are silently dropped.
Returns:
the current maximum number of rows for a ResultSet
object produced by this Statement
object; zero means there is no limit
Throws:
SQLException - if a database access error occurs or the statement has been closed
Reference:
For more information, reference JDBC documentation for: Statement.getMaxRows()