Subject Re: [firebird-support] How can I prevent DELETE/INSERT/UPDATE on a table
Author Sándor Tamás
>> Just curious....
>> What, if I creat a before delete trigger, and depending on circumstences,
I raise an exception? Wouldn't it keep record from deleting?

>Yes, but you also have to handle the exception in the calling application,
>of course.

If my only aim is to prevent a record from deleting, it isn't necessary. For the poor user, of course I ought to inform them what happened. :)

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