summaryrefslogtreecommitdiff
path: root/sql/DB2-remove.sql
blob: 413bebb2da0b77eab5262abf721ad28d1dba85c3 (plain)
  1. -- DB2-remove.sql
  2. --
  3. --
  4. -- Jim Rawlings modified for use with SL 2.0.8 and DB2 v7.2
  5. -- and higher August 27, 2003
  6. --
  7. --
  8. ---------------------------------------------------------
  9. -- DDL Statements for object removal
  10. ---------------------------------------------------------
  11. DROP TRIGGER partsgroupid;
  12. DROP TRIGGER projectid;
  13. DROP TRIGGER employeeid;
  14. DROP TRIGGER oeid;
  15. DROP TRIGGER apid;
  16. DROP TRIGGER arid;
  17. DROP TRIGGER partsid;
  18. DROP TRIGGER customerid;
  19. DROP TRIGGER vendorid;
  20. DROP TRIGGER invoiceid;
  21. DROP TRIGGER chartid;
  22. DROP TRIGGER glid;
  23. DROP SEQUENCE id RESTRICT;
  24. DROP TABLE partsgroup;
  25. DROP TABLE project;
  26. DROP TABLE shipto;
  27. DROP TABLE employee;
  28. DROP TABLE exchangerate;
  29. DROP TABLE orderitems;
  30. DROP TABLE oe;
  31. DROP TABLE vendortax;
  32. DROP TABLE customertax;
  33. DROP TABLE tax;
  34. DROP TABLE partstax;
  35. DROP TABLE ap;
  36. DROP TABLE ar;
  37. DROP TABLE assembly;
  38. DROP TABLE parts;
  39. DROP TABLE customer;
  40. DROP TABLE vendor;
  41. DROP TABLE invoice;
  42. DROP TABLE acc_trans;
  43. DROP TABLE defaults;
  44. DROP TABLE gifi;
  45. DROP TABLE chart;
  46. DROP TABLE gl;
  47. DROP TABLE makemodel;