dbUpgrade5_0004-to-5_0005_db2zOS.sql 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. -- Licensed Materials - Property of IBM
  2. --
  3. -- BI and PM: CM
  4. --
  5. -- (C) Copyright IBM Corp. 2008, 2009
  6. --
  7. -- US Government Users Restricted Rights - Use, duplication or disclosure
  8. -- restricted by GSA ADP Schedule Contract with IBM Corp.
  9. -- Copyright (C) 2008 Cognos ULC, an IBM Company. All rights reserved.
  10. -- Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated).
  11. alter table CMOBJPROPS31 add EVSAUDITLVL integer
  12. CREATE table CMOBJPROPS74 (
  13. CMID integer not null,
  14. DEPLOYREFS clob(1M),
  15. LAUNCHTYPE varchar (512),
  16. SPEC blob(1G),
  17. CONSTRAINT PK_CMOBJPROPS74 PRIMARY KEY (CMID)
  18. ) IN CMSCRIPT_CREATE_IN;
  19. CREATE UNIQUE INDEX PK_CMOBJPROPS74 ON CMOBJPROPS74 (CMID) USING STOGROUP CMSCRIPT_STOGROUP;
  20. create index IDX_CMLAUNCHTYPE on CMOBJPROPS74(LAUNCHTYPE) USING STOGROUP CMSCRIPT_STOGROUP;
  21. CREATE AUXILIARY TABLE CMATB096
  22. IN CMSCRIPT_DATABASE.CMSCRIPT_CS_IDCML096
  23. STORES CMOBJPROPS74
  24. COLUMN DEPLOYREFS;
  25. CREATE UNIQUE INDEX CMIDX096 ON CMATB096 USING STOGROUP CMSCRIPT_STOGROUP;
  26. CREATE AUXILIARY TABLE CMATB097
  27. IN CMSCRIPT_DATABASE.CMSCRIPT_CS_IDCML097
  28. STORES CMOBJPROPS74
  29. COLUMN SPEC;
  30. CREATE UNIQUE INDEX CMIDX097 ON CMATB097 USING STOGROUP CMSCRIPT_STOGROUP;