dbUpgrade0_99905-to-0_9997_oracle.sql 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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 CMOBJPROPS26 add DELIVOPTIONS clob null
  12. insert into CMOBJPROPS26(CMID) SELECT CMID FROM CMOBJECTS WHERE (CLASSID = 17 OR CLASSID = 39 OR CLASSID = 55 OR CLASSID = 57) AND (CMID NOT IN (SELECT CMID FROM CMOBJPROPS26))
  13. CREATE TABLE CMOBJPROPS28 (
  14. CMID number(10) not null,
  15. EVENTKEY clob NULL,
  16. EVENTTYPES clob NULL,
  17. constraint PK_CMOBJPROPS28 primary key (CMID)
  18. )
  19. !RunCMScript CMUpgradeScript_transient_1.xml
  20. !RunCMScript CMUpgradeScript_transient_2.xml
  21. !RunCMScript CMUpgradeScript_cognos_roles1_add.xml
  22. !RunCMScript CMUpgradeScript_cognos_roles1_update.xml
  23. CREATE TABLE CMOBJPROPS30 (
  24. CMID number(10) NOT NULL ,
  25. HANDLE varchar2(255) NULL,
  26. BINDING clob NULL,
  27. REGISTRATION clob NULL,
  28. SERVICEDESCR clob NULL,
  29. LAYOUT clob NULL,
  30. CONTEXT clob NULL,
  31. constraint PK_CMOBJPROPS30 primary key (CMID)
  32. )
  33. insert into CMOBJPROPS30(CMID) SELECT CMID FROM CMOBJECTS WHERE CLASSID=5
  34. !RunCMScript CMUpgradeScript_portal_1.xml
  35. !RunCMScript CMUpgradeScript_portal_2.xml
  36. alter table CMOBJPROPS5 add (DETAILTIME date null, DETAIL clob null)
  37. insert into CMOBJPROPS5(CMID) SELECT CMID FROM CMOBJECTS WHERE CLASSID=78
  38. insert into CMOBJPROPS11(CMID) SELECT CMID FROM CMOBJECTS WHERE CLASSID=78
  39. 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)
  40. !MigrateRetentionsForHistory
  41. !RunCMScript CMUpgradeScript_adminFolder_add.xml
  42. !RunCMScript CMUpgradeScript_adminFolder_update.xml