MySQL Forums
Forum List  »  InnoDB

Re: Can insert update a table based on match of one column value?
Posted by: Peter Brawley
Date: February 06, 2019 06:00PM

> I wish I could have a single query

?! Why?

> does mysql support if exists? I thought it should.

Flow-control constructs like if...end if, do...while etc are supported only in stored routines.

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.