PLS-00146: duplicate external TRUSTED/UNTRUSTED specification in subprogram expression Cause: The subprogram was found to have two external TRUSTED/UNTRUSTED specifications. Action: Remove one of the external external TRUSTED/UNTRUSTED specifications.