How to fix the Oracle error PLS-00369: no choices may appear with choice OTHERS in an exception handler?

In this post, you’ll learn more about the Oracle ErrorPLS-00369: no choices may appear with choice OTHERS in an exception handler with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

PLS-00369: no choices may appear with choice OTHERS in an exception handler

Reason for the Error PLS-00369: no choices may appear with choice OTHERS in an exception handler

A construct of the form WHEN excep1 OR OTHERS => was encountered in the definition of an exception handler. The OTHERS handler must appear by itself as the last exception handler in a block.

How to fix the Error PLS-00369: no choices may appear with choice OTHERS in an exception handler ?

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

Remove the identifier that appears with OTHERS or write a separate exception handler for that identifier.

Tags :

Leave Your Comment