Subject | Re: [ib-support] cancelling a trigger |
---|---|
Author | Bill Katelis |
Post date | 2002-05-15T00:06:41Z |
Bill M,
I am not exactly sure what you mean - but have a look at exceptions in the
manual. These can be raised by triggers and trapped
by the calling application.
bill
Bill Meaney wrote:
I am not exactly sure what you mean - but have a look at exceptions in the
manual. These can be raised by triggers and trapped
by the calling application.
bill
Bill Meaney wrote:
> How can I cancel the execution of an operation before the operation takes
> place, with a trigger?
>
> CREATE TRIGGER CancelDelete FOR myTable BEFORE DELETE POSITION 1 AS
> BEGIN
> IF (someDoNotDeleteCondition = TRUE) THEN
> BEGIN
> /* cancel the delete operation here */
> END
> END
>
> Is it even possible?
>
> Bill Meaney
> wameaney@...
>
> [Non-text portions of this message have been removed]
>
>
> To unsubscribe from this group, send an email to:
> ib-support-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/