Subject Re: [ib-support] Re: Do Nothing in triggers
Author Claudio Valderrama C.
"Martijn Tonies" <martijn@...> wrote in message
news:C1FE56B5C29FD211A99F00A0244BE820096153@SRV_BISIT...
> Hi,
>
> I create empty triggers/procedures too :)
>
> Often I'm just commenting stuff out and would like to have an empty one,
but
> this isn't possible... Afterwards, just un-commenting stuff and testing
> again...

For some reason, Borland decided that EXIT wasn't aceptable in triggers. But
you can create a dummy trigger that does
new.field = new.field
as the minimum sentence.

C.
--
Claudio Valderrama C. - http://www.cvalde.com - http://www.firebirdSql.org
Independent developer
Owner of the Interbase® WebRing