Subject | RE: [ib-support] Cancelling a record deletion |
---|---|
Author | Daniel Rail |
Post date | 2002-01-30T16:23:49Z |
Thanks Martijn and Luiz. That was the information that I was looking for.
Daniel Rail
At 30/01/2002 11:43 AM, you wrote:
Daniel Rail
At 30/01/2002 11:43 AM, you wrote:
>Hi,
>
>Only if you raise an exception in the trigger.
>
>I have that for some 'system' data.
>
>Example:
>
>BEGIN
> if (old.GEBRUIKERSNAAM = 'SERP')
> then exception DELETE_NOT_ALLOWED;
>END
>
>Martijn Tonies
>InterBase Workbench - the developer tool for InterBase and Firebird
><http://www.interbaseworkbench.com>http://www.interbaseworkbench.com
>
>
>Hi,
>
>I just want to know if it's possible to cancel the deletion of a record via
>the BEFORE DELETE trigger.
>
>Thanks in advance.
>