Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Report with 'PL/SQL Function Body returning SQL Query' : using a stored function gives 'No data Foun

NorbertKlJan 15 2020 — edited Jan 15 2020

Hello all,

i use APEX 19.2 and want to create a generic report for some dozen tables.

I want to create the select statement for the report  with a stored function , becaise there is some complexity involved but get an error

ORA-01403: no data found

during design time and can not save the page.

The function body looks like this

return betrieb.dynamic_select(pi_object_name => :P11_OBJECT_NAME, pi_database =>:P11_DATABASE);

Of course the bind variables contain no values during design time.

When I test the stored function in SQL developer.  it returns always a value, even for inplausible input dates.

Any Ideas how to proceed ?

Thanks a lot

Norbert

Comments
Post Details
Added on Jan 15 2020
1 comment
485 views