02.12.2022 20:05, 'Dimitry Sibiryakov' wrote:
>> FetchAbsolute(N+1), then fetchNext()
>
> FetchAbsolute(N+1) will return error so current record is still 1.
> May be fetchRelative(2)?..
In your example, record 2 is broken and fetchAbsolute(3) should work.
But of course fetchRelative(2) is also an option.
Although in fact, everything depends on where the error originates from.
If it cannot be read from a data page, none of the options would work,
the cursor will be stuck at the first error without any chance to scroll
over. If error is raised during mapping data to the output parameters,
for example, then scrolling gonna be possible.
> Are forwarding fetchAbsolute/Relative allowed on non-scrollable
> result set at all?
Nope, only fetchNext() is allowed.
Dmitry