Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / December 2004

Tip: Looking for answers? Try searching our database.

Trigger on update of ANY column?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Re_endian_miss@yahoo.com - 23 Dec 2004 21:41 GMT
Sorry in advance if this is a stupid or newbie question, but I have
scoured all info source and cannot find the answer...

I want to implement a trigger (in db2 8.1) that will fire on the update
of ANY column or permutation of columns in that table. For example,
create trigger <trig name>
after update of <col1> OR <col2> OR .. <colN> on <table name>
etc.

It does NOT appear that there is a way to do this? Have you ever faced
this or a similar situation before? Any advice on how to do this?
Thanks in advance for any feedback.
ak_tiredofspam@yahoo.com - 24 Dec 2004 03:31 GMT
have you tried
AFTER UPDATE ON <YourTable>?
ak_tiredofspam@yahoo.com - 24 Dec 2004 03:31 GMT
have you tried
AFTER UPDATE ON <YourTable>?
ak_tiredofspam@yahoo.com - 24 Dec 2004 03:31 GMT
have you tried
AFTER UPDATE ON <YourTable>?
ak_tiredofspam@yahoo.com - 24 Dec 2004 03:31 GMT
have you tried
AFTER UPDATE ON <YourTable>?
Re_endian_miss@yahoo.com - 29 Dec 2004 15:44 GMT
This appears to work exactly as needed!

Thank you!

> have you tried
> AFTER UPDATE ON <YourTable>?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.