|
And my usual response... If a trigger needs to know the answer to the question of effectively "Who called?", then there might be a design issue that needs to be resolved. An answer to that question should not need to be asked generally; best if only asked in some rare security\auditing scenarios. Seriously question the reasoning which led to the conclusion for the need to know that detail within the trigger, and give careful consideration for why that information should not be used to make decisions to implement the business rule(s) for which the trigger exists.
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.