Inserting Multiple row in oracle database
Syntax :
INSERT ALL
INTO TABLE_NAME( COL2, COL1,....) VALUES ( COL2DATA,CO1DATA, ....),
INTO TABLE_NAME( COL2ii, COL2ii,....) VALUES ( CO1iiDATA, COL2iiDATA, ....),
............................................................................................................
...........................................................................................................
SELECT * FROM DUAL;
Example of inserting into employee table:
insert all
into employee ( id, name, age, location) values ( 3, 'Nawaraj', 23, 'Kathmandu')
into employee ( id, name, age, location) values ( 4, 'Ram', 13, 'Biratnagar')
select * from dual;
Note: abc is user in oracle database not a table
Please like, share and subscribe channel