-- IBM Confidential -- -- OCO Source Materials -- -- BI and PM: JSM -- -- (c) Copyright IBM Corp. 2015 -- -- The source code for this program is not published or otherwise divested of its trade secrets, irrespective of what has been deposited with the U.S. Copyright Office. -- ------------------------------------------------------------------------------- -- NC1032_UPDATE_MS.SQL *DO NOT EDIT* Data Store Version: 1032 ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- --$100-- backup create begin ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- --$110-- backup inserts begin ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- --$130-- views drop begin ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- --$140-- tables drop begin ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- --$200-- recreate tables begin ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- --$201-- indices create begin ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- --$202-- primary keys add begin ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- --$203-- alter tables begin ------------------------------------------------------------------------------- ALTER TABLE NC_TASK_QUEUE DROP CONSTRAINT PN_TASK_QUEUE go ALTER TABLE NC_TSE_STATE_MAP DROP CONSTRAINT PN_TSE_STATE_MAP go ALTER TABLE NC_TASK_QUEUE ADD CONSTRAINT PN_TASK_QUEUE PRIMARY KEY NONCLUSTERED (TASK_ID) go ALTER TABLE NC_TSE_STATE_MAP ADD CONSTRAINT PN_TSE_STATE_MAP PRIMARY KEY NONCLUSTERED (TASK_ID) go ------------------------------------------------------------------------------- --$210-- views create begin ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- --$220-- server data inserts begin ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- --$230-- restore inserts begin ------------------------------------------------------------------------------- INSERT INTO NC_DB_VERSION (DB_VERSION_ID,BUILD) VALUES(1032, 'build no.') go ------------------------------------------------------------------------------- --$250-- backup drop begin ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- --$260-- end sql by function ------------------------------------------------------------------------------- -- END NC1032_UPDATE_MS.SQL * DO NOT EDIT * -------------------------------------------------------------------------------