dbUpgrade4_0041-to-4_0042_db2.sql 855 B

12345678910111213141516171819202122232425262728
  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 CMOBJPROPS1 add NOTIFICATIONEMAIL varchar (512)
  12. alter table CMOBJPROPS20 add ALLOWNOTIFICATION decimal(1,0)
  13. CREATE TABLE CMREFORD2 (
  14. CMID integer not null ,
  15. ORD integer NOT NULL,
  16. REFCMID integer not null ,
  17. constraint PK_CMREFORD2 primary key (CMID, ORD) )
  18. INSERT INTO CMREFORD2 (CMID,ORD,REFCMID) SELECT CMID,ORD,REFCMID FROM CMREFORD1 WHERE PROPID=35
  19. create index IDX_CMREFORD2 on CMREFORD2(REFCMID, ORD)
  20. DELETE FROM CMREFORD1 WHERE PROPID=35