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

EXP-00032: Non-DBAs may not export other users

1 Answers  


ORA-27209: syntax error in device PARMS - unknown keyword or missing =

1 Answers  


PLS-00528: The parameters to an ORDER function must have IN mode

1 Answers  


DRG-10202: server failed to register

1 Answers  


ORA-15069: ASM file 'string' not accessible; timed out waiting for lock

1 Answers  


PCC-02337: cannot declare multi-dimensioned array for this type

1 Answers  


DRG-10599: column is not indexed

1 Answers  


NNL-00935: Requests refused, SINGLE-VALUE violation: number

1 Answers  


ORA-40253: no target counter examples were found

1 Answers  


DRG-12803: invalid text datatype

1 Answers  


QSM-02051: subquery using the NOT EXISTS clause in mv

1 Answers  


LFI-00115: Buffer free failed.

1 Answers  


Categories