dbUpgrade6_0003-to-6_0004_db2zOS.sql 931 B

1234567891011121314151617181920212223242526272829
  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. create table CMOBJPROPS80 (
  12. CMID integer not null,
  13. REPOSITORYRULES clob(1G),
  14. CONSTRAINT PK_CMOBJPROPS80 PRIMARY KEY (CMID)
  15. ) IN CMSCRIPT_CREATE_IN;
  16. CREATE UNIQUE INDEX PK_CMOBJPROPS80 ON CMOBJPROPS80 (CMID) USING STOGROUP CMSCRIPT_STOGROUP;
  17. CREATE AUXILIARY TABLE CMATB104
  18. IN CMSCRIPT_DATABASE.CMSCRIPT_CS_IDCML104
  19. STORES CMOBJPROPS80
  20. COLUMN REPOSITORYRULES;
  21. CREATE UNIQUE INDEX CMIDX104 ON CMATB104 USING STOGROUP CMSCRIPT_STOGROUP;
  22. insert into CMOBJPROPS80 (CMID) select CMID from CMOBJECTS where CLASSID in (1, 18, 33)