-- Licensed Materials - Property of IBM
--
-- BI and PM: CM
--
-- (C) Copyright IBM Corp. 2008, 2009
--
-- US Government Users Restricted Rights - Use, duplication or disclosure
-- restricted by GSA ADP Schedule Contract with IBM Corp.

-- Copyright (C) 2008 Cognos ULC, an IBM Company. All rights reserved.
-- Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated).

CREATE TABLE CMOBJPROPS75 (
	CMID         	integer not null,
	RESOURCETYPE	nvarchar (256) NULL ,
	SPEC		image NULL,
	CONSTRAINT PK_CMOBJPROPS75 PRIMARY KEY (CMID)
)

create index IDX_CMRESOURCETYPE on CMOBJPROPS75(RESOURCETYPE)

CREATE TABLE CMOBJPROPS76 (
	CMID         	integer not null,
	CONTENTTYPE	nvarchar (256) NULL ,
	CONSTRAINT PK_CMOBJPROPS76 PRIMARY KEY (CMID)
)

CREATE TABLE CMOBJPROPS78 (
	CMID         	integer not null,
	BINDINGNAME	nvarchar (256) NULL ,
	INPUTMESSNAME	nvarchar (256) NULL ,
	OPERATIONNAME	nvarchar (256) NULL ,
	OUTPUTMESSNAME	nvarchar (256) NULL ,
	SERVICENAME	nvarchar (256) NULL ,
	BULKEVENTS	bit null,
	URI		ntext NULL,	
	CONSTRAINT PK_CMOBJPROPS78 PRIMARY KEY (CMID)
)

insert into CMOBJPROPS76 (CMID) select CMID from CMOBJECTS where CLASSID = 20
