How do I display only raise_application_error message
516873Mar 7 2007 — edited Mar 8 2007I am using the following within a trigger:
raise_application_error(-20000, 'Relationship start date must be before hire date', FALSE);
I just want to display - ORA-20000 Relationship start date must be before hire date
but what actually displays is...
ORA-06502: PL/SQL: numeric or value error: character string buffer too small ORA-06512: at "APPS.FND_MESSAGE", line 219 ORA-06512: at "APPS.HR_PROCESS_CONTACT_SS", line 9123 ORA-20000: Relationship start date must be before hire date ORA-06512: at "APPS.DRM_BEN_REL_DATE_SS", line 24 ORA-04088: error during execution of trigger 'APPS.DRM_BEN_REL_DATE_SS' ORA-06512: at line 1
How can I single out the error message that I want to call and leave out the rest?
Thanks in advance
-M