-- 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	lvarchar (512),
	SPEC		blob,
	PRIMARY KEY (CMID) CONSTRAINT PK_CMOBJPROPS75
) lock mode row;

create index CMSCRIPT_CS_IDIDX_RESOURCETYPE on CMOBJPROPS75(RESOURCETYPE);

CREATE TABLE CMOBJPROPS76 (
	CMID         	integer not null,
	CONTENTTYPE	lvarchar (512),
	PRIMARY KEY (CMID) CONSTRAINT PK_CMOBJPROPS76
) lock mode row;

CREATE TABLE CMOBJPROPS78 (
	CMID         		integer not null,
	BINDINGNAME		lvarchar (512),
	INPUTMESSNAME		lvarchar (512),
	OPERATIONNAME		lvarchar (512),
	OUTPUTMESSNAME		lvarchar (512),
	SERVICENAME		lvarchar (512),
	BULKEVENTS		decimal(1,0),
	URI			clob,
	PRIMARY KEY (CMID) CONSTRAINT PK_CMOBJPROPS78
) lock mode row;

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