>> Is there a more sapdb-optimized version to get the number of rows >> returned by a select-statement? > > No. If you look at other DBMS', you will see that getRow() is > always relatively expensive.
Obtaining the number of rows along with a query is a very common requirement for me as well. Currently it seems I need to either issue two separate queries every time or loop through all rows; both is certainly less efficient than if calling last() on the results of the initial query were a bit slower? -- Eric Jain _______________________________________________ sapdb.general mailing list [EMAIL PROTECTED] http://listserv.sap.com/mailman/listinfo/sapdb.general
