Anyone know of this can be done? I have a trigger...
...but I want to pass the pk of the row being updated to the stored proc, I though it would work something like this..
...but computer says no, trigger docs on mySql are not that great as they just introduced the functionality.
Cheers
Code:
CREATE TRIGGER db.myTrigger AFTER UPDATE ON db.myTable FOR EACH ROW CALL myStoredProc() ;
Code:
CREATE TRIGGER db.myTrigger AFTER UPDATE ON db.myTable table FOR EACH ROW CALL myStoredProc( table.id ) ;
Cheers
Comment