How to insert bulk information into database in single query execution


Basically the basic inserting query in sql is 

INSERT INTO tbl_name (a,b,c) VALUES(1,2,3);

but i need to insert n number of rows in a single query execution. like below 

INSERT INTO tbl_name (a,b,c) VALUES(1,2,3),(4,5,6),(7,8,9);


INSERT INTO tbl_name VALUES (1,2), (5,5);



You might also like:

How to get id by using name attribute in javascript

20-03-2017 html id name javascript

Filter for insert HTML in Angular Js

06-03-2017 filter show html angular js html

Call a function every second or 5 seconds in javascript

22-02-2017 setinterval function calling

Sample Validations in javascript

22-02-2017 validations javascript

Send Mail in Node Js

21-02-2017 node js mail npm module