|
Buck,
Joep Beckeringh
*CALLER means that the AG is inherited from the program that calls it.
But, apparently triggers are the exception to that rule -- something that I didn't know until now. Instead of inheriting the activation group of the database manager, the system activates it in the AG of the program that made the database call.
The way I always thought of it, the DB manager is set to *CALLER too. That way, the DB code runs in the same AG as the updating program, so program, DB and trigger all run in the same AG. --buck
As an Amazon Associate we earn from qualifying purchases.
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.