How to insert bulk information into database in single query execution

insert
sql
bulk
database

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);

or 

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

 

 

You might also like:

How to redirect one page to another page in php

20-03-2017 redirect php

How to insert bulk information into database in single query execution

18-03-2017 insert sql bulk database

How to get drop down value when drop down change using javascript

27-02-2017 onchange events dropdown javascript functions

How to remove last / value from url in javascript

27-02-2017 array javascript last value

Sample Validations in javascript

22-02-2017 validations javascript