How to fix the Oracle error PLS-00116: Duplicate where-clause in table expression?

In this post, you’ll learn more about the Oracle ErrorPLS-00116: Duplicate where-clause in table expression with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

PLS-00116: Duplicate where-clause in table expression

Reason for the Error PLS-00116: Duplicate where-clause in table expression

Two or more WHERE clauses were found in a DELETE, SELECT, or UPDATE statement. The WHERE clause specifies a condition under which rows in a table are processed. The condition can contain several logical expressions connected by AND or OR, but a statement can contain only one WHERE clause.

How to fix the Error PLS-00116: Duplicate where-clause in table expression ?

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

Remove one of the WHERE clauses and, if necessary, connect logical expressions by AND or OR

Tags :

Leave Your Comment