what is insert all statement in sql

Answer Posted / ankit

An insert all statement allows you to insert data into
multiple table with a single statement. For example:

INSERT ALL
INTO TABLE1(COLUMN1, COLUMN 2) VALUES('A','B')
INTO TABLE2(COLUMN 3,COLUMN4) VALUES ('1','2')
INTO TABLE3(COLUMN5,COLUMN6) VALUES ('2','A')
FROM DUAL

Is This Answer Correct ?    13 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

why should i declare foreign key constraint as self relation instead of binary relation in tables ?

1835


How to calculate date and time differences in oracle?

790


What is backup in Oracle?

793


How to convert raw data type into text in oracle? Explain

817


What's dateware house and what's clustor with practicle example

1952


What do you mean by cdb and pdb in oracle 12c?

851


How to assign values to variables?

850


Explain an exception?

756


How to run queries on external tables?

809


How will you write a query to get a 5th rank student from a table student_report?

1673


How to write a left outer join with the where clause in oracle?

860


Is it possible to center an object horizontally in a repeating frame that has a variable horizontal size ?

2119


Is there an oracle sql query that aggregates multiple rows into one row?

798


What is the recommended interval at which to run statspack snapshots, and why?

2686


When system tablespace is created?

805