home *** CD-ROM | disk | FTP | other *** search
/ Oracle Video Server 3.0.3.1 / OVS_3031_NT.iso / win32 / tracesvr / otrcfmtd.sql < prev    next >
Encoding:
Text File  |  1997-01-21  |  713 b   |  26 lines

  1.  
  2. REM // Drop database objects used by the Trace Formatter
  3.  
  4. set feedback off
  5. set heading off
  6.  
  7. rem // Drop the event data tables.  Since these tables are created
  8. rem // dynamically by the formatter, we need to get the names of the
  9. rem // tables from table event.  We'll create file otrcftmp.sql to
  10. rem // contain a drop statement for each table, and then execute it.
  11.  
  12. spool otrcfmtd.tmp
  13. select 'drop table '||event_table_name||';' from epc_event;
  14. spool off
  15. @otrcfmtd.tmp
  16.  
  17. drop table epc_process;
  18. drop table epc_facility;
  19. drop table epc_event;
  20. drop table epc_item;
  21. drop table epc_event_item;
  22. drop table epc_facility_registration;
  23. drop table epc_collection;
  24.  
  25. drop sequence epc_collection_id;
  26.