Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> count of cusor active set items
Hi,
Is it possible to obtain the number of items in the active set of a
cusor when
using Pro*C?
The Fetch command in Pro*C fills in sqlca.sqlerrd[2] with the number of
records retrieved. But, it seems that you need to fetch all records
just to obtain
the count of the active set.
The only other alternative seems to be to issue another SQL call (e.g. select count(*) ...) along with the actual select call.
Thanks for any ideas, Received on Fri Jul 10 1998 - 12:26:01 CDT
![]() |
![]() |