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!

PL/SQL Function Body max characters size

BlueForest85May 3 2023

Hello everyone,

MY APEX VERSION NUMBER : 22.1.0

I use a PL/SQL Function Body to create an SQL request according to the role of the user.

However, as I added a role, the size of the body increased, and I get this error : Value too long by 2091 characters!

Indeed, there are 35521 characters in this PL/SQL body.

I thought about something to avoid this problem : create a function which to the big part of the job (generate the SQL request according to the user roles), and just call it from APEX.

Could you confirm me if this method is correct ? It seems, or if there is another method, easier method.

Thank you for you experience !

Comments
Post Details
Added on May 3 2023
7 comments
1,058 views