Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.94 KB | None | 0 0
  1. CREATE TABLE working.soms_analyse
  2. (
  3.   prem text,
  4.   addy CHARACTER VARYING(80),
  5.   technician text,
  6.   serviceorder text,
  7.   geom geometry,
  8.   "timestamp" TIMESTAMP WITHOUT TIME zone
  9. )
  10. WITH (
  11.   OIDS=FALSE
  12. );
  13. ALTER TABLE working.soms_analyse OWNER TO postgres;
  14.  
  15. -- Index: working.idx_soms_analyse___btree___prem
  16.  
  17. -- DROP INDEX working.idx_soms_analyse___btree___prem;
  18.  
  19. CREATE INDEX idx_soms_analyse___btree___prem
  20.   ON working.soms_analyse
  21.   USING btree
  22.   (prem);
  23.  
  24. -- Index: working.idx_soms_analyse___btree___serviceorder
  25.  
  26. -- DROP INDEX working.idx_soms_analyse___btree___serviceorder;
  27.  
  28. CREATE INDEX idx_soms_analyse___btree___serviceorder
  29.   ON working.soms_analyse
  30.   USING btree
  31.   (serviceorder);
  32.  
  33. -- Index: working.idx_soms_analyse___btree___technician
  34.  
  35. -- DROP INDEX working.idx_soms_analyse___btree___technician;
  36.  
  37. CREATE INDEX idx_soms_analyse___btree___technician
  38.   ON working.soms_analyse
  39.   USING btree
  40.   (technician);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement