Subject | RE: [firebird-support] Cancel transaction - Email found in subject |
---|---|
Author | Leyne, Sean |
Post date | 2010-02-10T19:30:26Z |
> As I could cancel a transaction inside a triggers?You can't do that directly.
>
> I want something like:
>
> if (new.IDE > 10) then
> TRANSACTION ROLLBACK;
You would raise an exception at the database level, which would stop the current operation and return control back to your application.
From there you could rollback the transaction.
Sean