How to fix the Oracle error PLS-00210: an OTHERS clause is required in this CASE statement?

In this post, you’ll learn more about the Oracle ErrorPLS-00210: an OTHERS clause is required in this CASE statement with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

PLS-00210: an OTHERS clause is required in this CASE statement

Reason for the Error PLS-00210: an OTHERS clause is required in this CASE statement

Unless the clauses of a CASE statement mention all values of the type of the selecting expression, an OTHERS clause must be provided as the last clause of the CASE statement. It is impossible to cover all values of type INTEGER (or NUMBER), so an OTHERS clause is always required when the expression following the keyword CASE is of type INTEGER (or NUMBER).

How to fix the Error PLS-00210: an OTHERS clause is required in this CASE statement ?

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

None

Tags :

Leave Your Comment