Subject | Re: [Firebird-Architect] Replace the statement REPLACE |
---|---|
Author | Geoff Worboys |
Post date | 2006-11-17T23:56:38Z |
> /* REPLACE statement */Could you try something like this:
> replace
> : REPLACE INTO simple_table_name ins_column_parens_opt
> VALUES '(' value_list ')'
> replace_matching_opt
> returning_clause
> ;
INSERT INTO simple_table_name ins_column_parens_opt
VALUES '(' value_list ')'
[REPLACE WHERE ins_column_parens]
returning_clause
;
That is; make REPLACE just a qualifier on the existing INSERT?
--
Geoff Worboys
Telesis Computing