Subject RE: [ib-support] Re: Do Nothing in triggers
Author Martijn Tonies

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

Martijn Tonies
InterBase Workbench - the developer tool for InterBase and Firebird

in fact that your trigger shouldn't do anything, why not deactivate
the trigger?


--- In ib-support@y..., Roger Vellacott <rvellacott@p...> wrote:
> During development it is very useful to be able to create
procedures which
> do nothing by having only EXIT in the body of the procedure. I
would like
> to be able to do the same with triggers.
> EXIT is illegal and is obviously inappropriate. The shortest
command I have
> found is:-
> declare variable a integer;
> begin
> a = 1;
> end
> Is there a better way? If not, how about adding a DoNothing
command for use
> in triggers?
> Roger Vellacott

Yahoo! Groups Sponsor

To unsubscribe from this group, send an email to:

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

[Non-text portions of this message have been removed]