You cannot apply this pragma to an entire package, but you can apply it to each subprogram in a package.
Unlike an ordinary trigger, an autonomous trigger can contain transaction control statements, such as COMMIT
and ROLLBACK
, and can issue DDL statements (such as CREATE
and DROP
) through the EXECUTE
IMMEDIATE
statement.