How to fix the Oracle error PLS-00124: name of exception expected for first arg in exception_init pragma?

In this post, you’ll learn more about the Oracle ErrorPLS-00124: name of exception expected for first arg in exception_init pragma with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

PLS-00124: name of exception expected for first arg in exception_init pragma

Reason for the Error PLS-00124: name of exception expected for first arg in exception_init pragma

The first argument passed to the EXCEPTION_INIT pragma was something other than an exception name. The first argument must be the name of a legally declared exception.

How to fix the Error PLS-00124: name of exception expected for first arg in exception_init pragma ?

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

Replace the first argument with the name of a legally declared exception.

Tags :

Leave Your Comment