dbUpgrade7_0001-to-7_0002_db2zOS.sql 771 B

1234567891011121314151617181920212223242526
  1. -- Licensed Materials - Property of IBM
  2. --
  3. -- BI and PM: CM
  4. --
  5. -- (C) Copyright IBM Corp. 2011
  6. --
  7. -- US Government Users Restricted Rights - Use, duplication or disclosure
  8. -- restricted by GSA ADP Schedule Contract with IBM Corp.
  9. create table CMOBJPROPS81 (
  10. CMID integer not null,
  11. AGGREGATES clob(1M),
  12. CONSTRAINT PK_CMOBJPROPS81 PRIMARY KEY (CMID)
  13. ) IN CMSCRIPT_CREATE_IN;
  14. CREATE UNIQUE INDEX PK_CMOBJPROPS81 ON CMOBJPROPS81 (CMID) USING STOGROUP CMSCRIPT_STOGROUP;
  15. CREATE AUXILIARY TABLE CMATB111
  16. IN CMSCRIPT_DATABASE.CMSCRIPT_CS_IDCML111
  17. STORES CMOBJPROPS81
  18. COLUMN AGGREGATES;
  19. CREATE UNIQUE INDEX CMIDX111 ON CMATB111 USING STOGROUP CMSCRIPT_STOGROUP;
  20. insert into CMOBJPROPS81 (CMID) select CMID from CMOBJECTS where CLASSID in (237,238,239);