Subject | Re: [Firebird-Architect] Replace the statement REPLACE |
---|---|
Author | Geoff Worboys |
Post date | 2006-11-17T20:07:51Z |
> I would like to make a, perhaps extreme, proposal.This gets my vote (since MERGE is apparently not available).
> Since we already support "CREATE OR ALTER ..."
> Why don't we use "INSERT OR UPDATE ..." for the new
> 'replace' functionality?
It is clear about what it does, and does not introduce yet
more keywords into the vocabulary.
PS. I think that REPLACE is the correct word for the behaviour
in MySQL - and would be the incorrect word for what you want to
achieve. Replace does imply removal of the existing, or the
restoration of something previously removed.
--
Geoff Worboys
Telesis Computing