My Oracle Support Banner

Pipelined Function Terminates Unexpectedly without Reporting an Error when NO_DATA_NEEDED or OTHERS Exception are not used. (Doc ID 1466789.1)

Last updated on OCTOBER 06, 2022

Applies to:

PL/SQL - Version 11.2.0.2 and later
Information in this document applies to any platform.

Symptoms

A Pipelined function may terminate unexpectedly without reporting any errors if it does not return all rows.  

For example:



The pipelined function only fetches 2 rows and stops executing with an exception as no more rows are needed.   (This is similar to ORA-1403 no data found.)

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.