How to insert multiple rows in MySql DB using My SQL Connector.

1
0
-1

In MySql connector, how we can insert multiple rows ? Because the insert statement allows one row at a time ?

1 answer

1
0
-1

Hi,

It is possible to add several rows using the INSERT Statement in MySQL.

Example: INSERT INTO myTable (a, b, c) VALUES (1, 2, 3), (1, 4, 8) , ...;

Regards

Notifications