Mike, You are correct in your assumption and you DO need to add the where clause.
Dave -----Original Message----- From: ProFox [mailto:[email protected]] On Behalf Of [email protected] Sent: 16 August 2017 04:07 To: ProFox <[email protected]> Subject: [NF] Trigger question MariaDB backend (but could be SQL Server too) Given this trigger: UPDATE MyTable SET cItemID = new.cID WHERE cItemID = old.cID My question: will this trigger fire even if the old.cID = new.cID? Or do I need to add to the WHERE clause something like "....and old.cID <> new.cID" ??? tia, --Mike [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

