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

RMAN-12001: could not open channel string

1 Answers  


ORA-01111: name for data file string is unknown - rename to correct file

1 Answers  


NNL-00220: Statistic counter logging is currently disabled

1 Answers  


LPX-00303: attribute value "~S" not expected for ~S

1 Answers  


IMP-00071: Object identifier of imported table mismatches object identifier of existing table

1 Answers  






IMG-00804: Syntax error in attribute string

1 Answers  


LSX-00134: attribute "~1S" has invalid qualification "~2S"

1 Answers  


ORA-38770: FLASHBACK DATABASE failed during recovery.

1 Answers  


ORA-25402: transaction must roll back

1 Answers  


ORA-19655: cannot switch to incarnation with different resetlogs data

1 Answers  


ORA-01563: rollback segment is PUBLIC, need to use the keyword PUBLIC

1 Answers  


ORA-32032: free temporary object number not available

1 Answers  


Categories