How to fix the Oracle error PLS-00370: OTHERS handler must be last among the exception handlers of a block?
In this post, you’ll learn more about the Oracle ErrorPLS-00370: OTHERS handler must be last among the exception handlers of a block with the details on why you receive this error and the possible solution to fix it.
Oracle Error Description
PLS-00370: OTHERS handler must be last among the exception handlers of a block
Reason for the Error PLS-00370: OTHERS handler must be last among the exception handlers of a block
One or more exception handlers appear after an OTHERS handler. However, the OTHERS handler must be the last handler in a block or subprogram because it acts as the handler for all exceptions not named specifically.
How to fix the Error PLS-00370: OTHERS handler must be last among the exception handlers of a block ?
You can fix this error in Oracle by following the below steps
Move the OTHERS handler so that it follows all specific exception handlers.
Leave Your Comment