Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 » UltraLite - M-Business Anywhere Programming » UltraLite for M-Business Anywhere API reference » ResultSet class

 

getRowCountWithThreshold method

Returns the number of rows in the result set up to a specified threshold number of rows.

Syntax
UInt32 getRowCount( UInt32 threshold)
Parameters

threshold   This value supplies a limiting value for the row counting operation. If there are more rows than the threshold value, the result is the threshold value. Counting rows can be an expensive operation when a large number of rows is present. Some applications simply need to know if more than a specific number of rows exist (for example, to determine whether to offer an option for the user to request more rows) and do not need an exact row count. If this value is zero, all rows are counted.