How to fix the Oracle error ORA-29928: duplicate default selectivity specified?

In this post, you’ll learn more about the Oracle ErrorORA-29928: duplicate default selectivity specified with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-29928: duplicate default selectivity specified

Reason for the Error ORA-29928: duplicate default selectivity specified

The keyword DEFAULT SELECTIVITY can only be specified once.

How to fix the Error ORA-29928: duplicate default selectivity specified ?

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

Remove the duplicate keyword.