× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On Wed, Jul 29, 2020 at 3:32 AM Maria Lucia Stoppa <mlstoppa@xxxxxxxxx> wrote:

To me, it seems that DB2_NUMBER_ROWS shows the number of fetched rows, just
like ROW_COUNT, maybe due to the presence of offset and fetch first clauses.

Or, am I doing something wrong?

I don't think you are doing anything wrong. The documentation is on
the dry and formal side, but what I *think* it is saying is exactly
what you are seeing. I believe the "result table" mentioned in the
passage quoted by Birgitta refers to the actual rows retrieved by the
SQL engine, so if your statement includes a limit on the number of
rows (such as with FETCH FIRST), then that would limit the size of the
result table.

John Y.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.