Subject | Re: [firebird-support] what the most efficient way to do update or insert with value ? |
---|---|
Author | Milan Babuskov |
Post date | 2012-02-15T11:37:28Z |
nathanelrick wrote:
http://www.firebirdsql.org/refdocs/langrefupd25-merge.html
If you have an older Firebird version and still want a single SQL
command, you can use EXECUTE BLOCK as explained in
http://www.firebirdfaq.org/faq220/
--
Milan Babuskov
==================================
The easiest way to import XML, CSV
and textual files into Firebird:
http://www.guacosoft.com/xmlwizard
==================================
> i want to do something likeUse MERGE:
>
> update or insert into mytable(ID, amount) values (123, amount + 100);
>
> how to do this ?
http://www.firebirdsql.org/refdocs/langrefupd25-merge.html
If you have an older Firebird version and still want a single SQL
command, you can use EXECUTE BLOCK as explained in
http://www.firebirdfaq.org/faq220/
--
Milan Babuskov
==================================
The easiest way to import XML, CSV
and textual files into Firebird:
http://www.guacosoft.com/xmlwizard
==================================