PLS-00406: length of SELECT list in subquery must match
number of assignment targets



PLS-00406: length of SELECT list in subquery must match number of assignment targets..

Answer / guest

Cause: A query select list is not the same length as the
list of targets that will receive the returned values. For
example, the following statement is faulty because the
subquery returns two values for one target: UPDATE emp SET
ename = (SELECT ename, empno FROM emp WHERE ename = 'SMITH') ...

Action: Change one of the lists so that they contain the
same number of items.

Please add more information about this Error

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle Errors Interview Questions

ORA-38102: Invalid column in the INSERT WHERE Clause: string

1 Answers  


ORA-27027: sbtremove2 returned error

1 Answers  


ORA-02447: cannot defer a constraint that is not deferrable

1 Answers  


ORA-39103: Timeout before worker process string finished initialization. Worker error:

1 Answers  


ORA-02479: error while translating file name for parallel load

1 Answers  






PLS-00405: subquery not allowed in this context

1 Answers  


ORA-25326: Array string operation failed for message at index string

1 Answers  


ORA-03250: Cannot mark this segment corrupt

1 Answers  


LSX-00152: only "minOccurs", "maxOccurs", or "id" is allowed

1 Answers  


ORA-01140: cannot end online backup - all files are offline or readonly

1 Answers  


ORA-02367: file truncated error in string

1 Answers  


ORA-29534: referenced object string.string could not be resolved

1 Answers  


Categories