home *** CD-ROM | disk | FTP | other *** search
/ Oracle Video Server 3.0.3.1 / OVS_3031_NT.iso / win32 / tracesvr / otrcsvr.sql < prev    next >
Encoding:
Text File  |  1996-08-23  |  695 b   |  32 lines

  1. /*
  2. // otrcsvr.sql - Creates stored procedures used by the Oracle Trace server.
  3. //
  4. // This file should be executed while logged into Oracle user SYS, from the
  5. // directory where the otrc*.sql files reside.  This file needs to be
  6. // executed for each database on which Trace collections will be run.
  7. */
  8.  
  9. /*
  10. // Define package headers 
  11. */
  12. @otrcdbms.sql
  13. /*
  14. // Define package bodies
  15. */
  16. @otrcprvt.sql
  17. /*
  18. // Create Oracle user to be used by Trace daemon
  19. */
  20. CREATE USER tracesvr IDENTIFIED BY trace
  21. /
  22. GRANT CREATE SESSION, SELECT ANY TABLE TO tracesvr
  23. /
  24. /*
  25. // Allow user tracesvr to access the daemon procedures
  26. */
  27. GRANT EXECUTE ON dbms_oracle_trace_agent TO tracesvr
  28. /
  29.  
  30.  
  31.  
  32.