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!

Maximum length of query string for functions return a SELECT

428025Aug 13 2008 — edited Oct 22 2012
Hi all,

I have a report that gets it's SELECT statement from a function, instead of being coded into the region. All was well but I suspect now I'm blowing some kind of limit as I'm getting an error :

ORA-06502: PL/SQL: numeric or value error
Error ERR-1101 Unable to process function body returning query.

However if I run the procedure out of ApEx and grab the SELECT statement then it works fine. The length of the query is 8636 bytes (yup, it's a beauty!).

Does anyone know if there is a hard limit to the size of the string that can be returned?

I'm using ApEx 3.1.

Thanks,
Steve H
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 19 2012
Added on Aug 13 2008
6 comments
5,513 views