|
Would that be this clause:
trigger-event
UPDATE OF column-name
as shown at
https://www.ibm.com/docs/en/i/7.5?topic=statements-create-trigger
On Wed, Jun 12, 2024 at 7:27 AM Jay Vaughn <jeffersonvaughn@xxxxxxxxx>
wrote:
so that certainly sounds logical... but I've only applied triggers to theinput
table before. How do you apply a column trigger?
With the addpftrg there is no specification for which column.
with sql create trigger, there is only an option for table to add trigger
to.
How do you apply your alleged column level trigger?
thanks
Jay
On Tue, Jun 11, 2024 at 6:33 PM Glenn Gundermann <
glenn.gundermann@xxxxxxxxx>
wrote:
You use a column trigger if you want an action to take place when the
column value is changed.
You use a table trigger on a read, update, insert, or delete of a row.
Yours truly,
Glenn Gundermann
Email: glenn.gundermann@xxxxxxxxx
Cell: (416) 317-3144
On Mon, 10 Jun 2024 at 16:31, Jay Vaughn <jeffersonvaughn@xxxxxxxxx>
wrote:
So need to perform some function (pgm), when an db2 table column
idea?soundstakes place.
At first thought a table trigger (that only processes that column)
mayfine.
But then maybe a field procedure that sits on the column itself.
I've only used field procedures for encryption and while I think they
work also fine for like a column level trigger... is that a good
mailingI really don't like the idea of not being able to use sql though.
any other possibilities?
tia
Jay
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
relatedlistrelated
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
listquestions.--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
listquestions.--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx--
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
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.