Skip to content
Advertisement

insert into two different tables from two different tables

When i try this, i got error

“ORA-06550: line 2, column 48: PL/SQL: ORA-00926: missing VALUES keyword ORA-06550: line 2, column 1: PL/SQL: SQL Statement ignored”.

I need to insert some values from different tables to two different tables.

assume table 1 and table 2 are like ,

As you see i need to copy some rows with little changes to its own table.But i have two different tables and I should do that at the same time.

or

Advertisement

Answer

You can try something similar like given below: Read more about INSERT ALL for inserting into multiple tables.

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement