Rev 119 | Rev 4653 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
/* Package Action Log *//* Stange query attempts to retain the order of the entries *//* The date format is not strong enough to ensure correct ordering *//* The user should have used a timestamp instead */select alog.action_datetime,usr.FULL_NAME,usr.USER_EMAIL,acttype.description as acttype,alog.descriptionfrom (SELECT rownum as rn, action_datetime, ACTTYPE_ID, USER_ID, descriptionFROM ACTION_LOGWHERE PV_ID = :PV_ID) alogjoin USERS usr on alog.user_id = usr.user_idjoin ACTION_TYPE acttype on alog.acttype_id = acttype.acttype_idorder by alog.action_datetime DESC, alog.rn DESC