PLS-00359: assignment target in 'string' must have components

Answer Posted / guest

Cause: An assignment target was declared that lacks the
components needed to store the assigned values. For example,
this error occurs if you try to assign a row of column
values to a variable instead of a record, as follows:
DECLARE dept_rec dept%ROWTYPE; my_deptno dept.deptno%TYPE;
... BEGIN SELECT deptno, dname, loc INTO my_deptno --
invalid FROM dept WHERE ...

Action: Check the spelling of the names of the assignment
target and all its components. Make sure the assignment
target is declared with the required components and that the
declaration is placed correctly in the block structure.

Please add more information about this Error

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to resolve QSM-01108 error. I have no OR conditions in my query, but do have 9 IN conditions. The error says the max limit is 2 while I have 257 number of disjuncts. However, if I remove even a single IN condition, the query is rewritten. I cannot change my query. How can I resolve this issue?

2401


IMP-00096: Warning: Skipping table "string"."string" because type synonym "string"."string" cannot be created

1324


NZE-28868: Peer certificate chain check failed.

2365


IMG-02003: 2FF03 - incorrect color histogram feature specification

1309


When i am connect database through toad,one error occured. ORA-12514: TNS:listener does not currently know of service requested in connect descriptor. plz help me thanks advance.............

2426






NZE-28890: Entrust Login Failed

1488


ORA-26082: load of overlapping segments on table string.string is not allowed

1448


RMAN-05017: no copy of datafile number found to recover

1999


ORA-26094: stream format error: input column overflow

2353


IMP-00064: Definition of LOB was truncated by export

6022


ORA-26032: index string.string loading aborted after string keys

1739


ORA-26030: index string.string had string partitions made unusable due to:

1644


IMP-00060: Warning: Skipping table "string"."string" because object type "string"."string" does not exist or has different identifier

2733


IMP-00070: Lob definitions in dump file are inconsistent with database.

1391


ORA-26029: index string.string partition string initially in unusable state

1817