PLS-00570: different number of columns in the multiset and
cast expressions



PLS-00570: different number of columns in the multiset and cast expressions..

Answer / guest

Cause: Number of columns in the collection returned by
MULTISET and the number of columns for the CAST type don't
match. For example: create type tab_obj as object (n
number); create type tab1 as table of tab_obj; create table
tab2 (col1 number, col2 number); select CAST(MULTISET(select
col1, col2 from tab2) as tab1) from tab2;

Action: none

Please add more information about this Error

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle Errors Interview Questions

ORA-01637: rollback segment 'string' is being used by another instance (#string)

1 Answers  


QSM-02071: internal error: undefined PCT failure code

1 Answers  


ORA-02344: cannot revoke execute on a type with table dependents

1 Answers  


ORA-01323: Invalid state

1 Answers  


ORA-28505: cannot get non-Oracle system capabilities from string

1 Answers  


LFI-00140: Invalid option string were specified on input-output file.

1 Answers  


ORA-32806: value for string is too long, maximum length is string

1 Answers  


ORA-32627: illegal pattern in MODEL FOR LIKE loop

1 Answers  


QSM-01041: materialized view, string, does not match with a measure in the query

1 Answers  


RMAN-20003: target database incarnation not found in recovery catalog

1 Answers  


RMAN-07507: cataloging files...

1 Answers  


ORA-34179: (MXCHGDCL20) workspace object is not a PARTITION TEMPLATE.

1 Answers  


Categories