Hi all,
I am trying to create a report using the objects given in the acitivity universe and i get the syntax error.Exception: DBD, ORA-00936: missing expression
State: N/A
can any one help me with this.
below is the sql
SELECT
WA_SESSION.SESSION_ID
FROM
( select
CONVERT(DETAIL.Detail_Text, CHAR) as SESSION_ID,
EVENT.User_Name as SESN_USER,
SERVER.Server_Name as SESN_HOST,
SERVER.Server_FullName as SESN_SERVER,
EVENT.Start_Timestamp as SESN_TIME,
min(EVENT.Start_Timestamp) as SESN_START,
max(EVENT.Start_Timestamp) as SESN_END,
TIME_TO_SEC(TIMEDIFF(MAX(EVENT.Start_Timestamp) , MIN(EVENT.Start_Timestamp))) as SESN_DURATION_SEC
from
AUDIT_DETAIL as DETAIL,
AUDIT_EVENT as EVENT,
SERVER_PROCESS as SERVER
where
(DETAIL.Server_CUID = EVENT.Server_CUID) and
(DETAIL.Event_ID = EVENT.Event_ID) and
DETAIL.Detail_Type_ID = 45 and SERVER.Server_CUID = EVENT.Server_CUID and SERVER.Application_Type_ID = 7
group by
CONVERT(DETAIL.Detail_Text, CHAR), EVENT.User_Name, SERVER.Server_Name, SERVER.Server_FullName) WA_SESSION
our audit database is set up in oracle and version we are using is BOXI 3
Thanks
Rekha
rekha (BOB member since 2008-06-08)