Subject Re: [firebird-support] Re: Insert Trigger which makes an Update if pk allready there possible?
Author Martijn Tonies

> Wouldn't it be better to say:
> begin
> insert ....
> when somethinggoeswrong
> begin
> update ...
> end
> end

This is exactly how Database Workbench creates an
INSERT/UPDATE procedure if you right-click on a
table and select "Create SUID Procedures" ;-)

Isn't that convenient.

With regards,

Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Upscene Productions