AW: [HACKERS] Re: Re: REPLACE INTO table a la mySQL

2001-06-20 Thread Zeugswetter Andreas SB
> I think that application people would probably prefer the delete trigger, > insert trigger. It makes more sense, because I would interpret replace > as "get rid of the old if it exists" and "put in a new item". If people > wanted > to make sure code is run on delete, and they have to put it in

[HACKERS] Re: Re: REPLACE INTO table a la mySQL

2001-06-11 Thread Dale Johnson
"Jan Wieck" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > mlw wrote: > > [...] > > REPLACE into table set xx=yy, ww = zz where ID = fubar; > > > > A MUCH better solution! > > Please solve the trigger problem at least theoretical before > claiming that mySQL is that MUC