Returns the number of rows in the result set up to a specified threshold number of rows.
UInt32 getRowCount( UInt32 threshold)
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.
|Discuss this page in DocCommentXchange.
Send feedback about this page using email.
|Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1|