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

ORA-14081: new partition name must differ from the old partition name

1 Answers  


DRG-11531: start token not found on line string

1 Answers  


PLS-00611: right hand side can be only the variables of record type

1 Answers  


RMAN-00576: PIPE cannot be used with CMDFILE

1 Answers  


IMG-00820: area 0 queue clear failed

1 Answers  


ORA-01924: role 'string' not granted or does not exist

1 Answers  


ORA-26566: Couldn't open connect to string

1 Answers  


ORA-15037: disk 'string' is smaller than mimimum of string MBs

1 Answers  


SQL*Loader-00703: Internal error: argument number

1 Answers  


ORA-06416: NETCMN: error on test

1 Answers  


ORA-07718: sksafre: error freeing memory

1 Answers  


NNO-00107: line string: ignoring stale checkpoint data

1 Answers  


Categories