PLS-00396: INSERT statement's subquery yields wrong number
of columns



PLS-00396: INSERT statement's subquery yields wrong number of columns..

Answer / guest

Cause: The number of columns in an INSERT statement does not
match the number of columns in a subquery select list. For
example, the following statement is faulty because no
corresponding column is specified for col3: INSERT INTO emp
(ename, empno) SELECT col1, col2, col3 FROM ...

Action: Change the number of items in the column list of the
INSERT statement or the number of items in the select list
so that the numbers match.

Please add more information about this Error

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Oracle Errors Interview Questions

ORA-06141: NETTCP: no privilege for user

1 Answers  


ORA-14095: ALTER TABLE EXCHANGE requires a non-partitioned, non-clustered table

1 Answers  


ORA-02269: key column cannot be of LONG datatype

2 Answers  


ORA-01070: Using an old version of Oracle for the server

1 Answers  


ORA-16603: Data Guard broker detected a mismatch in configuration ID.

1 Answers  






TNS-04046: Invalid specification for source

1 Answers  


TNS-00138: Failed to find ORACLE executable directory

1 Answers  


ORA-14011: names assigned to resulting partitions must be distinct

1 Answers  


TNS-01114: LSNRCTL could not perform local OS authentication with the listener

1 Answers  


NNL-00870: Update requests received: number

1 Answers  


ORA-27067: size of I/O buffer is invalid

1 Answers  


ORA-13856: Service name must be specified

1 Answers  


Categories