PLS-00371: at most one declaration for 'string' is permitted
in the declaration section

Answers were Sorted based on User's Feedback



PLS-00371: at most one declaration for 'string' is permitted in the declaration section..

Answer / dinesh

You have declared the variable name or type twice. check
the variable name or type which was duplicated.

Is This Answer Correct ?    5 Yes 1 No

PLS-00371: at most one declaration for 'string' is permitted in the declaration section..

Answer / john doe

I am acctually a very newby beginner but the error occured
because i used the Tablename instead of the cursor.

switched
anyVar myTable.theField%TYPE;
to
anyVar myCursor.theField%TYPE;

And the error dissapeared.

Regards
Jan

Is This Answer Correct ?    2 Yes 2 No

PLS-00371: at most one declaration for 'string' is permitted in the declaration section..

Answer / samuel

delete one of the declarative identifier in the declarative
block.it worked for me.

Is This Answer Correct ?    0 Yes 0 No

PLS-00371: at most one declaration for 'string' is permitted in the declaration section..

Answer / guest

Cause: A reference to an identifier is ambiguous because
there are conflicting declarations for it in the declarative
part of a block, procedure, or function. At most one
declaration of the identifier is permitted in a declarative
part.

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

Please add more information about this Error

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More Oracle Errors Interview Questions

ORA-28040: No matching authentication protocol

1 Answers  


ORA-06140: NETTCP: no such user

1 Answers  


TNS-01063: The db subagent is not started.

1 Answers  


NZE-29008: Bad DH Param key length

1 Answers  


ORA-00403: %s (string) is not the same as other instances (string)

1 Answers  


ORA-36274: (XSCGMDLAGG05) The operator used in this equation needs a weight variable.

1 Answers  


NPL-00417: received ASN.1 length octet count greater than maximum of string

1 Answers  


ORA-30106: reserved for future use

1 Answers  


ORA-12803: parallel query server lost contact with another server

1 Answers  


ORA-00228: length of alternate controlfile name exceeds maximum of string

1 Answers  


ORA-32823: subscriber exists for queue string and destination string

1 Answers  


ORA-02065: illegal option for ALTER SYSTEM

1 Answers  


Categories