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-16795: Database resource guard detects that database reinstantiation is required

1 Answers  


ORA-19771: cannot rename change tracking file while database is open

1 Answers  


ORA-29255: Cursor contains both bind and define arrays which is not permissible

1 Answers  


ORA-39065: unexpected master process exception in string

1 Answers  


ORA-31509: publication does not exist

1 Answers  


NZE-29231: the cryptographic engine failed to initialize

1 Answers  


ORA-07655: slsprom:$TRNLOG failure

1 Answers  


ORA-32805: identifier for string too long, maximum length is string characters

1 Answers  


ORA-22151: cannot resize non-zero variable-length array to zero elements

1 Answers  


ORA-00211: controlfile does not match previous controlfiles

1 Answers  


ORA-31644: unable to position to block number string in dump file "string"

1 Answers  


TNS-01153: Failed to process string: string

1 Answers  


Categories