Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.35 KB

getmaxrows-method-sqlserverstatement.md

File metadata and controls

41 lines (30 loc) · 1.35 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic apilocation apiname apitype
getMaxRows Method (SQLServerStatement)
getMaxRows Method (SQLServerStatement)
David-Engel
davidengel
01/19/2017
sql
connectivity
reference
sqljdbc.jar
SQLServerStatement.getMaxRows
Assembly

getMaxRows Method (SQLServerStatement)

[!INCLUDEDriver_JDBC_Download]

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

SQLServerException

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

SQLServerStatement Members
SQLServerStatement Class