How to fix the Oracle error PLS-00305: previous use of ‘string’ (at line string) conflicts with this use?
In this post, you’ll learn more about the Oracle ErrorPLS-00305: previous use of ‘string’ (at line string) conflicts with this use with the details on why you receive this error and the possible solution to fix it.
Oracle Error Description
PLS-00305: previous use of ‘string’ (at line string) conflicts with this use
Reason for the Error PLS-00305: previous use of ‘string’ (at line string) conflicts with this use
While looking for prior declarations of a cursor, procedure, function, or package, the compiler found another object with the same name in the same scope. Or, the headers of subprogram in a package specification and body do not match word for word.
How to fix the Error PLS-00305: previous use of ‘string’ (at line string) conflicts with this use ?
You can fix this error in Oracle by following the below steps
Check the spelling of the cursor, procedure, function, or package name. Also check the names of all constants, variables, parameters, and exceptions declared in the same scope. Then, remove or rename the object with the duplicate name. Or, change the headers of the packaged subprogram so that they match word for word.
Leave Your Comment