Oracle Error ORA-25956: join index cannot be created on tables owned by SYS

Oracle Error Message

ORA-25956: join index cannot be created on tables owned by SYS

Reason for the Error

An attempt to create a join index was made, which failed because one of the tables was owned by SYS.

Solution

Ensure that no join index related table is owned by SYS.