dbUpgrade4_0039-to-4_0041_mssqlserver.sql 778 B

12345678910111213141516171819202122232425
  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. CREATE TABLE CMOBJPROPS65 (
  12. CMID int NOT NULL ,
  13. BURSTID nvarchar (4000) NULL,
  14. CONSTRAINT PK_CMOBJPROPS65 PRIMARY KEY (CMID)
  15. )
  16. insert into CMOBJPROPS65(CMID, BURSTID) SELECT CMID, BURSTID FROM CMOBJPROPS61 WHERE CMID in (SELECT CMID FROM CMOBJECTS WHERE CLASSID in (27,179))
  17. alter table CMOBJPROPS61 drop column BURSTID
  18. create index IDX_CMRESTARTID on CMOBJPROPS11(RESTARTEVENTID)