× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



What happens with the target table? Does it need to be cleared and reloaded when the source table changes, or are the new rows just added?

How do the rows get from the source table to the target? Is it a simple copy, or is there other processing involved?



-----Original Message-----
From: Booth Martin [mailto:booth@xxxxxxxxxxxx]
Sent: Wednesday, September 12, 2018 1:34 AM
To: RPG programming on the IBM i (AS/400 and iSeries) <rpg400-l@xxxxxxxxxxxx>
Subject: Re: run a program when a file changes

The entire file is cleared and new records inserted several times a day.  If I attach an on-insert trigger and 20,000 records are inserted, that means the trigger is pulled 20,000 times?

That sounds harsh to me?  So it seems prudent to ask.


On 9/11/2018 11:05 PM, Evan Harris wrote:
I agree with Buck that triggers seem a reasonable answer on the
surface of it.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.