PLS-00402: alias required in SELECT list of cursor to avoid
duplicate column names

Answers were Sorted based on User's Feedback



PLS-00402: alias required in SELECT list of cursor to avoid duplicate column names..

Answer / guest

Cause: A cursor was declared with a SELECT statement that
contains duplicate column names. Such references are ambiguous.

Action: Replace the duplicate column name in the select list
with an alias.

Please add more information about this Error

Is This Answer Correct ?    3 Yes 3 No

PLS-00402: alias required in SELECT list of cursor to avoid duplicate column names..

Answer / chimbu

Remove the same column name in cusor query.

ex:

select a1,a2,a1 from table1;

Here their are two columns named a1.

Remove it and you wont get the error

Is This Answer Correct ?    4 Yes 8 No

Post New Answer

More Oracle Errors Interview Questions

NNL-00561: register <name> [-t<type>] [-d<address>] [-h<hostname>] [-l<listener_name>] : register an object with Oracle Names

1 Answers  


SQL*Loader-00958: Error popping data relocation address stack

1 Answers  


NNL-00577: list_domains: list authoritative domains in the region or subtree

1 Answers  


DRG-12220: a valid tag must be provided

1 Answers  


ORA-27488: unable to set string because string was/were already set

1 Answers  






ORA-13184: failed to initialize tessellation package

1 Answers  


ORA-25256: consumer cannot be specified with a single-consumer queue or an exception queue

1 Answers  


ORA-01539: tablespace 'string' is not online

1 Answers  


ORA-07506: scgrl: $deq unexpected return on lockid string

1 Answers  


ORA-01865: not a valid era

1 Answers  


ORA-30105: 'string' is not a legal boolean for 'string'

1 Answers  


ORA-29283: invalid file operation

1 Answers  


Categories