Hi,
I have a Database Trigger (AFTER CREATE) and I wish to retrieve newly created Stored Procedure's body. I tried to use DBMS_METADATA.GET_DDL(DICTIONARY_OBJ_TYPE,DICTIONARY_OBJ_NAME,DICTIONARY_OBJ_OWNER) function, but I got this error: ORA-31603 object is not found.
The trigger is created in SYS schema, so there is no problem with SELECT_CATALOG_ROLE privilage. Is there another way to get SP body?
Thanks in advance.