List:General Discussion« Previous MessageNext Message »
From:Dirk Schippers Date:September 14 2004 10:21pm
Subject:Re: INSERT on duplicate UPDATE?
View as plain text  
I think what you mean is REPLACE. Try 
http://dev.mysql.com/doc/mysql/en/REPLACE.html

Yves Goergen wrote:

> Hi,
> I can vaguely remember there was something like "INSERT... on 
> duplicate key UPDATE..." in MySQL, but the documentation search is 
> almost as useful as I'm used to - it cannot tell me anything about 
> this. Can you please? How does this work, what's the syntax? Is this 
> ANSI-SQL standard (or compatible to other DBMS)? Or is it even 
> documented?
>

-- 

Schippers Dirk
Zaakvoerder Frixx-iT
http://www.frixx-it.com
------------------------------------------------------------------------
Bezoek ook http://www.verhalensite.com voor uw literaire tekortkomingen.

Thread
INSERT on duplicate UPDATE?Yves Goergen14 Sep
  • Re: INSERT on duplicate UPDATE?Dirk Schippers14 Sep
    • Re: INSERT on duplicate UPDATE?Yves Goergen14 Sep
  • Re: INSERT on duplicate UPDATE?Mayuran Yogarajah14 Sep
  • Re: INSERT on duplicate UPDATE?Tobias Asplund14 Sep
    • Re: INSERT on duplicate UPDATE?Yves Goergen14 Sep
  • Re: INSERT on duplicate UPDATE?Sergei Golubchik18 Oct