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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1877


ORA-26027: unique index string.string partition string initially in unusable state

6148


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

1552


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

1281


ORA-26095: unprocessed stream data exists

2791






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

1701


ORA-26094: stream format error: input column overflow

2242


ORA-26079: file "string" is not part of table string.string

1512


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

1195


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

1366


ORA-26076: cannot set or reset value after direct path structure is allocated

1465


invalid quantity specification negative quantity are not allowed for this item please check this item definition quantity

2851


ORA-16516: The current state is invalid for the attempted operation.

8055


ORA-26028: index string.string initially in unusable state

3393


ORA-16627: No standby databases support the overall protection mode.

3546