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-28537: no more result sets

1 Answers  


ORA-38765: Flashed back database cannot be opened read-only.

1 Answers  


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

1 Answers  


RMAN-20004: target database name does not match name in recovery catalog

1 Answers  


SQL*Loader-00501: Unable to read file (string)

1 Answers  






ORA-33883: (MAKEDCL36) You cannot use the string attribute when you define an EXTERNAL partition with an existing target.

1 Answers  


NNL-00851: Renames refused, name is not a leaf name: number

1 Answers  


PLS-00228: Illegal declaration of variable of type LONG

1 Answers  


ORA-25452: duplicate attribute value for variable: string, attribute: string

1 Answers  


NNC-00421: invalid modification directive string, must be between string and string

1 Answers  


ORA-02227: invalid cluster name

1 Answers  


PCC-01512: Invalid EXEC SQL INCLUDE of file string found at line number in file string

1 Answers  


Categories