MySQL Forums
Forum List  »  InnoDB

Re: Can insert update a table based on match of one column value?
Posted by: Peter Brawley
Date: February 07, 2019 09:33AM

> I saw people doing very complicated things in one single query

Some complicated things can be done in one query, esp. with common table expressions. Your wee job needs a transaction, control flow and multiple statements.

> the stored procedure surely the performance should be better then the sql query right?

No, mysql sprocs usually do not improve performance.

Options: ReplyQuote




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.