Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to insert multiple rows in Visual FoxPro?

I'm using Visual FoxPro on my Classic ASP website, and I want to achieve the SQL syntax below to FoxPro version 6.

INSERT into users (id, name) 
VALUES 
(1, 'john'),
(2, 'kim'),
(3, 'jake')

But this syntax doesn't recognize by Visual FoxPro.

like image 514
devjet Avatar asked Dec 19 '25 12:12

devjet


1 Answers

No version of Visual FoxPro supports that syntax for multiple row inserts. You will have to issue one insert statement per row.

like image 177
Alan B Avatar answered Dec 22 '25 05:12

Alan B



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!