ul_u_long UltraLite_Cursor_iface::GetRowCount( [ ul_u_long threshold ] )
threshold Optional parameter setting a threshold number of rows to count. If threshold is supplied and is greater than zero, the maximum row count returned is the threshold value. The actual number of rows may be equal to or greater than the threshold value.
Gets the number of rows in the table.
Setting a threshold value to limit the number of rows to count can be useful in situations where it is important to know if more than a specific number of rows exist. For example, code that is populating a list that holds 25 items can determine whether it is necessary to permit the user to have an option to view additional rows.
Calling this method is equivalent to executing "SELECT COUNT(*) FROM table".
|Send feedback about this page via email or DocCommentXchange||Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0|