MySQL Forums
Forum List  »  PHP

Re: Multiple Queries
Posted by: Peter Brawley
Date: February 17, 2014 12:30PM

The mysqli API has a multiquery feature but it's awkward to use, at best. For error control and data integrity, Usually it's best to execute queries one at a time. If you really need to group query executions, write the logic at application level. It's not trivial, eg you need to account for the possibility that queries change the DELIMIER and/or invoke stored procedures.

Options: ReplyQuote


Subject
Written By
Posted
February 16, 2014 02:05AM
February 17, 2014 07:37AM
Re: Multiple Queries
February 17, 2014 12:30PM


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.