dbUpgrade0_9989-to-0_9990_db2.sql 957 B

123456789101112131415161718192021222324252627282930
  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 CMOBJPROPS27 drop constraint PK_CMOBJPROPS27
  12. rename CMOBJPROPS27 to CMOBJPROPS27_OLD
  13. create table CMOBJPROPS27 (
  14. CMID integer not null,
  15. CUBECONTNAME varchar (2048),
  16. GATEWAY varchar (1024),
  17. HASPROMPTS decimal(1,0) default 0 not null,
  18. PPOPTIONS clob (4000),
  19. DATABLOCKS blob(1G),
  20. constraint PK_CMOBJPROPS27 primary key (CMID)
  21. )
  22. insert into CMOBJPROPS27(CMID, CUBECONTNAME, GATEWAY, HASPROMPTS, PPOPTIONS, DATABLOCKS) select CMID, CUBECONTNAME, GATEWAY, HASPROMPTS, PPOPTIONS, DATABLOCKS from CMOBJPROPS27_OLD
  23. drop table CMOBJPROPS27_OLD