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

DRG-11846: Response Is Stale

1 Answers  


ORA-19905: log_archive_format must contain %%s, %%t and %%r

2 Answers  


ORA-28169: unsupported certificate type

1 Answers  


SQL*Loader-00910: Error binding input variables for upi: [number]

1 Answers  


ORA-14042: partition bound may not be specified for a partition being moved, modified or rebuilt

1 Answers  






NNL-00226: Current request-processing delay is string

1 Answers  


ORA-12671: Shared server: adapter failed to save context

1 Answers  


RMAN-08097: channel string: starting validation of archive log backupset

1 Answers  


ORA-16951: Too many bind variables supplied for this SQL statement.

1 Answers  


PCC-00073: Cursor is declared but never OPENed at line number in file string.

1 Answers  


ORA-19502: write error on file "string", blockno string (blocksize=string)

1 Answers  


ORA-12036: updatable materialized view log is not empty, refresh materialized view

1 Answers  


Categories