I need to update the "date_modified" field of a table when I add or edit a record from another table.
The date_modified is a mysql datetime type.
Im just not finding anything that will work searching on google or perhaps im not searching correctly? Any help would be thankful.
If you know what to do please look below..
Note gets created or edited
/////////////////////////
table: Notes
fields: opp_id, title, notes, ......
////////////////////////
date_modified field updates to the current datetime.
////////////////////////
table: Opportunities
fields: id, author_name, date_created, date_modified.....
//////////////////////////
this is my first time trying triggers so please go easy on me.
thanks.
The date_modified is a mysql datetime type.
Im just not finding anything that will work searching on google or perhaps im not searching correctly? Any help would be thankful.
If you know what to do please look below..
Note gets created or edited
/////////////////////////
table: Notes
fields: opp_id, title, notes, ......
////////////////////////
date_modified field updates to the current datetime.
////////////////////////
table: Opportunities
fields: id, author_name, date_created, date_modified.....
//////////////////////////
this is my first time trying triggers so please go easy on me.
thanks.
Comment