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-08551: recovering datafilecopy fno=string name=string

1 Answers  


AMD-00110: parameter string of "string" not valid

1 Answers  


LPX-00251: conditional sections are valid only in external DTDs

1 Answers  


PLS-01710: In a positioned DELETE or UPDATE statement, the cursor name must be of length 1

1 Answers  


ORA-25012: PARENT and NEW values cannot be identical

1 Answers  


NNL-00930: Requests refused, unknown data type: number

1 Answers  


ORA-28037: Cannot Get Session Key for RACF Authentication

1 Answers  


ORA-28595: Extproc agent : Invalid DLL Path

1 Answers  


ORA-28026: user with same external name already exists

1 Answers  


ORA-24069: cannot downgrade queue table string while it is being upgraded

1 Answers  


DRG-50943: query token too long on line string on column string

1 Answers  


ORA-29374: resource plan string in top-plan string has no plan directives

1 Answers  


Categories