PLS-00709: pragma string must be declared in package specification and body Cause: The named pragma was declared in a package specification but not in the corresponding package body or vice-versa, as well as the package body. Action: Add the pragma to that part of the package declaration that does not have the pragma.