MySQL Forums
Forum List  »  PHP

Re: for loop or not?
Posted by: Peter Brawley
Date: July 17, 2017 10:22AM

Multiple inserts are faster, up to a limit of a few hundreds or thousands, and depending on how long the transaction will take. Use the for loop to build the multi-insert statements.

Options: ReplyQuote

Written By
July 17, 2017 02:55AM
Re: for loop or not?
July 17, 2017 10:22AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.