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-07400: slemtr: translated name for the message file is too long.

1 Answers  


QSM-00796: the specified SQL statement cannot be stored in the workload because table string does not have valid statistics

1 Answers  


TNS-00266: Navigator: Unknown Request

1 Answers  


ORA-07626: smsget: sga already mapped

1 Answers  


ORA-02782: Both read and write functions were not specified

1 Answers  






ORA-29840: indextype and implementation type are not in same schema

1 Answers  


TNS-01156: Missing or inappropriate PROTOCOL, TIMEOUT or POOL_SIZE parameter from PRESPAWN_DESC

1 Answers  


ORA-29905: method string does not exist in type string.string

1 Answers  


RMAN-06588: number of patterns (number) to DB_FILE_NAME_CONVERT should be even

1 Answers  


LFI-01509: fopen() failed(OSD return value = string).

1 Answers  


RMAN-06194: target database instance not started

1 Answers  


ORA-30037: Cannot perform parallel DML after a prior DML on the object

1 Answers  


Categories