SELECT
FSAV.USER_NAME,
FU.DESCRIPTION,
FSAV.RESPONSIBILITY_NAME,
FSAV.USER_FORM_NAME,
FSAV.LOGIN_NAME,
FSAV.TIME,
FSAV.PID,
FSAV.TERMINAL_ID,
FSAV.USER_ID,
FSAV.RESP_APPL_ID,
FSAV.RESPONSIBILITY_ID,
FSAV.FORM_ID,
FSAV.FORM_APPL_ID
FROM FND_SIGNON_AUDIT_VIEW FSAV,
FND_USER FU
WHERE 1=1
AND
FSAV.LOGIN_NAME=‘&test‘
AND FSAV.USER_ID = FU.USER_ID
order by
to_number(substr(FSAV.TIME,1,instr(FSAV.TIME,‘:‘)-1))*60
+
to_number(substr(FSAV.TIME,instr(FSAV.TIME,‘:‘)+1))
Oracle EBS-SQL (SYS-6):sys_在线用户职责查询2.sql,布布扣,bubuko.com
Oracle EBS-SQL (SYS-6):sys_在线用户职责查询2.sql
原文地址:http://www.cnblogs.com/st-sun/p/3777537.html