dbUpgrade5_0011-to-5_0012_mssqlserver.sql 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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 CMOBJPROPS75 (
  12. CMID integer not null,
  13. RESOURCETYPE nvarchar (256) NULL ,
  14. SPEC image NULL,
  15. CONSTRAINT PK_CMOBJPROPS75 PRIMARY KEY (CMID)
  16. )
  17. create index IDX_CMRESOURCETYPE on CMOBJPROPS75(RESOURCETYPE)
  18. CREATE TABLE CMOBJPROPS76 (
  19. CMID integer not null,
  20. CONTENTTYPE nvarchar (256) NULL ,
  21. CONSTRAINT PK_CMOBJPROPS76 PRIMARY KEY (CMID)
  22. )
  23. CREATE TABLE CMOBJPROPS78 (
  24. CMID integer not null,
  25. BINDINGNAME nvarchar (256) NULL ,
  26. INPUTMESSNAME nvarchar (256) NULL ,
  27. OPERATIONNAME nvarchar (256) NULL ,
  28. OUTPUTMESSNAME nvarchar (256) NULL ,
  29. SERVICENAME nvarchar (256) NULL ,
  30. BULKEVENTS bit null,
  31. URI ntext NULL,
  32. CONSTRAINT PK_CMOBJPROPS78 PRIMARY KEY (CMID)
  33. )
  34. insert into CMOBJPROPS76 (CMID) select CMID from CMOBJECTS where CLASSID = 20