On 9/20/21 9:53 AM, intmail01 wrote:
>
> How to use transaction in a trigger ? It seems there is no possibility
> to control transaction within function
>
>
>
>
You would start a transaction, send two SQL statements. The trigger is
within the transaction (and does not test for negative values).
> For each batch of deletes send two delete statements in a single
> transaction. The first with negative values. The second with
> non-negative values.
> > Thank you
> >
> >
> >
>