-- Licensed Materials - Property of IBM
-- BI and PM: Mobile
-- (C) Copyright IBM Corp. 2007, 2012
-- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

CREATE OR REPLACE TRIGGER TGR_MOB_RDS_SYNC_UP
AFTER UPDATE OF RENDER_SIZE ON MOB_RENDERS
REFERENCING NEW AS pre
FOR EACH ROW
BEGIN
	UPDATE MOB_USER_RENDER SET LAST_VIEWED = SYSDATE
		WHERE RENDER_ID = :pre.RENDER_ID;
END;
/
