List:General Discussion« Previous MessageNext Message »
From:Jim Faucette Date:October 30 1999 1:36pm
Subject:Re: if exists UPDATE else INSERT
View as plain text  
Look up REPLACE INTO in the manual. It sounds like what you need.

  jim...

Erik Andersson wrote:
> 
> Can I create a SQL command which does an UPDATE if a post exist or else does
> an INSERT?
Thread
if exists UPDATE else INSERTErik Andersson30 Oct
  • Re: if exists UPDATE else INSERTJim Faucette30 Oct
  • Re: if exists UPDATE else INSERTScott Hess1 Nov
    • Re: if exists UPDATE else INSERTVivek Khera1 Nov
  • Re: if exists UPDATE else INSERTScott Hess2 Nov