dbUpgrade4_0041-to-4_0042_oracle.sql 887 B

1234567891011121314151617181920212223242526272829
  1. -- Licensed Materials - Property of IBM
  2. --
  3. -- BI and PM: CM
  4. --
  5. -- (C) Copyright IBM Corp. 2008, 2013
  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 varchar2 (768) NULL );
  12. alter table CMOBJPROPS20 add ( ALLOWNOTIFICATION number(1) null );
  13. CREATE TABLE CMREFORD2 (
  14. CMID number(10) NOT NULL,
  15. ORD number(10) NOT NULL,
  16. REFCMID number(10) 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;