How to fix the Oracle error ORA-14134: indexes cannot use both DESC and REVERSE?

In this post, you’ll learn more about the Oracle ErrorORA-14134: indexes cannot use both DESC and REVERSE with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-14134: indexes cannot use both DESC and REVERSE

Reason for the Error ORA-14134: indexes cannot use both DESC and REVERSE

An attempt was made to make a reverse index with some index columns marked DESC.

How to fix the Error ORA-14134: indexes cannot use both DESC and REVERSE ?

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

Do not use DESC in reverse indexes. The rule-based optimizer can scan indexes backwards, which allows a normal reverse index to simulate a reverse index with columns marked DESC.

Tags :

Leave Your Comment