Subject | Re: [Firebird-Architect] REPLACE, again |
---|---|
Author | Adriano dos Santos Fernandes |
Post date | 2006-08-15T22:15:56Z |
Leyne, Sean wrote:
MATCHING causes the user to control what he wants to update or insert.
Adriano
> I thought the problem that REPLACE was intended to solve, is where youIf you insert first, the statement will be dependent on PK/unique.
> want to insert a new record but if it already exists, to update the
> existing row. As such, the insert must be performed before the update.
>
MATCHING causes the user to control what he wants to update or insert.
Adriano