dbUpgrade0_9993-to-0_9994_db2.sql 971 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. alter table CMOBJPROPS5 add column DETAILTIME timestamp add column DETAIL clob(1M)
  12. insert into CMOBJPROPS5(CMID) SELECT CMID FROM CMOBJECTS WHERE CLASSID=78
  13. CREATE TABLE CMOBJPROPS28 (
  14. CMID integer not null,
  15. EVENTKEY clob (4000),
  16. EVENTTYPES clob (4000),
  17. constraint PK_CMOBJPROPS28 primary key (CMID)
  18. )
  19. insert into CMOBJPROPS11(CMID) SELECT CMID FROM CMOBJECTS WHERE CLASSID=78
  20. insert into CMOBJPROPS26(CMID) select CMID from CMOBJECTS WHERE (CLASSID=5 OR CLASSID=50 OR CLASSID=52 OR CLASSID=95 OR CLASSID=96 OR CLASSID=97)
  21. !MigrateRetentionsForHistory