How to fix the Oracle error PLS-00373: EXIT/CONTINUE label ‘string’ must label a LOOP statement?

In this post, you’ll learn more about the Oracle ErrorPLS-00373: EXIT/CONTINUE label ‘string’ must label a LOOP statement with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

PLS-00373: EXIT/CONTINUE label ‘string’ must label a LOOP statement

Reason for the Error PLS-00373: EXIT/CONTINUE label ‘string’ must label a LOOP statement

The label in the EXIT or CONTINUE statement did not refer to a LOOP statement. An EXIT or CONTINUE statement need not specify a label. However, if a label is specified (as in EXIT my_label or CONTINUE my_label), it must refer to a LOOP statement.

How to fix the Error PLS-00373: EXIT/CONTINUE label ‘string’ must label a LOOP statement ?

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

Make sure the label name is spelled correctly and that it refers to a LOOP statement.

Tags :

Leave Your Comment