- Created Table X with Primary in the database
- Created Table Y with Foreign key reference with X table primary key clause cascade delete.
- Trying to create a materialized view and it shows the below error.
ORA-00955: name is already used by an existing object
Workaround:
- Remove Foreign key from Table Y
- Materialized view created successfully.
Why it is not allowing Foreign key and Materialized view together.?