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

IMP-00400: Warning: Object type "string"."string" already exists with a different typeid

1 Answers  


PLS-00908: The stored format of string is not supported by this release

1 Answers   TCS,


ORA-31194: Resource string is already deleted

1 Answers  


ORA-27033: failed to obtain file size limit

1 Answers  


ORA-02067: transaction or savepoint rollback required

1 Answers  


ORA-09798: Label comparison failed.

2 Answers  


ORA-25508: database is not mounted

1 Answers  


SQL*Loader-03120: Resumable parameters ignored -- current session not resumable

1 Answers  


ORA-12491: DBHIGH value does not dominate DBLOW

1 Answers  


NID-00300: Connected to database string (DBID=number)

1 Answers  


ORA-29397: cannot grant/revoke switch privilege for string

1 Answers  


ORA-16740: log transport service for standby "string" incorrectly set to ALTERNATE.

1 Answers  


Categories