How to fix the Oracle error ORA-29391: string and string must be mandatory to create a mandatory plan directive?

In this post, you’ll learn more about the Oracle ErrorORA-29391: string and string must be mandatory to create a mandatory plan directive with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-29391: string and string must be mandatory to create a mandatory plan directive

Reason for the Error ORA-29391: string and string must be mandatory to create a mandatory plan directive

An attempt was made to create a mandatory plan directive where either PLAN or GROUP_OR_SUBPLAN or both were not mandatory

How to fix the Error ORA-29391: string and string must be mandatory to create a mandatory plan directive ?

You can fix this error in Oracle by following the below steps

Recreate these objects as mandatory and then create the plan directive.

Tags :

Leave Your Comment