Oracle Error PLS-00371: at most one declaration for ‘string’ is permitted

Oracle Error Message

PLS-00371: at most one declaration for ‘string’ is permitted

Reason for the Error

A reference to an identifier was ambiguous because there were multiple declarations for the identifier. At most one local variable with a given identifier is permitted in the declarative part of a block, procedure, or function. At most one label with a given identifier may appear in a block.

Solution

Check the spelling of the identifier. If necessary, remove all but one declaration of the identifier.