home *** CD-ROM | disk | FTP | other *** search
/ Oracle Video Server 3.0.3.1 / OVS_3031_NT.iso / win32 / tracesvr / otrcrpta.sql < prev    next >
Encoding:
Text File  |  1996-09-20  |  1.5 KB  |  34 lines

  1. rem All user, admin, dev, error and fatal events in order of occurrence
  2. rem Prompts for the collection name if cllctn not already defined.
  3.  
  4. select 'User' EVENT, epid, to_char(timestamp, 'DD-MON-YY HH24:MI') timestamp, 
  5.        timestamp_nano, function_id, probe_id, message
  6. from v_192216243_f_115_e_1_v2_3 u, epc_collection c
  7. where c.collection_name = '&&cllctn' and
  8.       c.collection_id = u.collection_number
  9. UNION
  10. select 'Admin' EVENT, epid, to_char(timestamp, 'DD-MON-YY HH24:MI') timestamp, 
  11.        timestamp_nano, function_id, probe_id, message
  12. from v_192216243_f_115_e_2_v2_3 a, epc_collection c
  13. where c.collection_name = '&&cllctn' and
  14.       c.collection_id = a.collection_number
  15. UNION
  16. select 'Dev' EVENT, epid, to_char(timestamp, 'DD-MON-YY HH24:MI') timestamp, 
  17.        timestamp_nano, function_id, probe_id, message
  18. from v_192216243_f_115_e_3_v2_3 d, epc_collection c
  19. where c.collection_name = '&&cllctn' and
  20.       c.collection_id = d.collection_number
  21. UNION
  22. select 'Error' EVENT, epid, to_char(timestamp, 'DD-MON-YY HH24:MI') timestamp, 
  23.        timestamp_nano, function_id, probe_id, message
  24. from v_192216243_f_115_e_12_v2_3 r, epc_collection c
  25. where c.collection_name = '&&cllctn' and
  26.       c.collection_id = r.collection_number
  27. UNION
  28. select 'Fatal' EVENT, epid, to_char(timestamp, 'DD-MON-YY HH24:MI') timestamp, 
  29.        timestamp_nano, function_id, probe_id, message
  30. from v_192216243_f_115_e_13_v2_3 f, epc_collection c
  31. where c.collection_name = '&&cllctn' and
  32.       c.collection_id = f.collection_number
  33. order by timestamp, timestamp_nano;
  34.