MySQL Forums
Forum List  »  PHP

Re: sql procedure
Posted by: Peter Brawley
Date: April 04, 2016 10:16AM

Running nearly a dozen queries with no error handling asks for trouble.

And PHP can have trouble running sprocs that execute multiple queries.

So I think you're probably in much better shape if you write a PHP script that calls each query at least under error control, blocked into a transaction with rollbacks to handle failures.

Options: ReplyQuote


Subject
Written By
Posted
April 04, 2016 09:16AM
Re: sql procedure
April 04, 2016 10:16AM
April 04, 2016 10:37AM
April 04, 2016 05:36PM


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.