Subject Re: [firebird-support] How to skip a trigger in the same trigger?
Author Gabor Boros
2016. 04. 14. 14:00 keltezéssel, Dimitry Sibiryakov sd@...
[firebird-support] írta:
> 14.04.2016 13:57, Gabor Boros gaborboros@... [firebird-support] wrote:
>> I have TBL_MASTER, TBL_DETAIL(this contains ISDEFAULT). You suggest a
>> TBL_DETAIL_DEFAULTS table?
>
> No, I suggest to add DefaultDetail field into TBL_MASTER referencing default record in
> TBL_DETAIL.

TBL_DETAIL data of some "groups" and every "group" have a default row.
But, the user can add new "groups" in the appliction. So I need one
field/"group" if store in the TBL_MASTER, but don't know how many
because the user add new groups... This is because I stored the default
row of the "group" in the TBL_DETAILs ISDEFAULT field.

Gabor