what is insert all statement in sql

Answers were Sorted based on User's Feedback



what is insert all statement in sql..

Answer / 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

what is insert all statement in sql..

Answer / sudip

INSERT ALL
INTO TABLE1(COLUMN1, COLUMN2) VALUES('A','B')
INTO TABLE2(COLUMN3,COLUMN4) VALUES ('1','2')
INTO TABLE3(COLUMN5,COLUMN6) VALUES ('2','A')
select * FROM DUAL

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More Oracle General Interview Questions

What are the execution control statements?

0 Answers  


Differnce between view and index

3 Answers  


What is the fastest query method to fetch data from the table?

0 Answers  


structural difference between bitmap and btree index ?

1 Answers   Infosys,


Explain the use of ignore option in imp command.

0 Answers  






Oracle

0 Answers   ABC, Genpact, HUI, Oracle,


What is flashback Query ? And Use ?

4 Answers   Thermotech,


How to pass a cursor variable to a procedure?

0 Answers  


What do you know about normalization? Explain in detail?

0 Answers  


How to start your 10g xe server?

0 Answers  


WHAT IS ecc 6.0

0 Answers  


what is difference between foreign key and reference key

3 Answers   AZTEC, Infosys,


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)