Subject | Re: Looking for ideas: keeping log of changes |
---|---|
Author | ainpoissee |
Post date | 2006-11-30T10:47:36Z |
--- In firebird-support@yahoogroups.com, "Paul Hope" <paulhope@...> wrote:
this approach the main work is done when record is changed, but I
expect that the diff is rarely needed, so it is better to create it
"on demand".
ain
> We have used the method you outlined for some time.Do you use BEFORE or AFTER triggers? Any particular reason why?
> We also use anotherI was thinking about this too but cons outweight the pros for me. With
> approach which is to use a trigger to record changes on a field by field
> basis This is easier to read and works better when the changes are
> typically on a small number of fields each time.
this approach the main work is done when record is changed, but I
expect that the diff is rarely needed, so it is better to create it
"on demand".
ain