MySQL Forums
Forum List  »  Portuguese

Re: Insert Condicional
Posted by: Henrique Nacamae
Date: October 07, 2008 10:29AM

Carlos,

Você já tentou o comando REPLACE?

Ele faz um UPDATE se o registro já existir. Caso contrário, faz um INSERT.

Options: ReplyQuote


Subject
Views
Written By
Posted
7458
September 22, 2008 07:28AM
Re: Insert Condicional
3787
October 07, 2008 10:29AM


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.