Oracle Error PLS-00712: illegal option for subprogram string

Oracle Error Message

PLS-00712: illegal option for subprogram string

Reason for the Error

Only top level subprograms or subprogram declarations in PACKAGE or TYPE specifications are allowed to have the options DETERMINISTIC or PARALLEL_ENABLE. For example, this error would be raised if the options are used in PACKAGE or TYPE body.

Solution

remove the option.