12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- -- IBM Confidential
- --
- -- OCO Source Materials
- --
- -- BI and PM: JSM
- --
- -- (c) Copyright IBM Corp. 2013
- --
- -- 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.
- --
- -------------------------------------------------------------------------------
- -- NC904_UPDATE_DB2.SQL *DO NOT EDIT* Data Store Version: 904
- -------------------------------------------------------------------------------
- -------------------------------------------------------------------------------
- --$100-- backup create begin
- -------------------------------------------------------------------------------
- -------------------------------------------------------------------------------
- --$110-- backup inserts begin
- -------------------------------------------------------------------------------
- -------------------------------------------------------------------------------
- --$130-- views drop begin
- -------------------------------------------------------------------------------
- -------------------------------------------------------------------------------
- --$140-- tables drop begin
- -------------------------------------------------------------------------------
- -------------------------------------------------------------------------------
- --$200-- recreate tables begin
- -------------------------------------------------------------------------------
- CREATE TABLE NC_TASK_HISTORY_SUB_INDEX(
- TASK_ID CHAR(45) NOT NULL,
- LAST_SUB_INDEX INTEGER NOT NULL
- );
- -------------------------------------------------------------------------------
- --$201-- indices create begin
- -------------------------------------------------------------------------------
- CREATE INDEX I1N_TASKHISTORYSUBINDEX ON NC_TASK_HISTORY_SUB_INDEX (TASK_ID);
- -------------------------------------------------------------------------------
- --$202-- primary keys add begin
- -------------------------------------------------------------------------------
- ALTER TABLE NC_TASK_HISTORY_SUB_INDEX ADD CONSTRAINT PN_TASK_HS PRIMARY KEY (TASK_ID);
- -------------------------------------------------------------------------------
- --$203-- alter tables begin
- -------------------------------------------------------------------------------
- -------------------------------------------------------------------------------
- --$210-- views create begin
- -------------------------------------------------------------------------------
- -------------------------------------------------------------------------------
- --$220-- server data inserts begin
- -------------------------------------------------------------------------------
- -------------------------------------------------------------------------------
- --$230-- restore inserts begin
- -------------------------------------------------------------------------------
- INSERT INTO NC_DB_VERSION (DB_VERSION_ID,BUILD) VALUES(904,'build no.');
- -------------------------------------------------------------------------------
- --$250-- backup drop begin
- -------------------------------------------------------------------------------
- -------------------------------------------------------------------------------
- --$260-- end sql by function
- -------------------------------------------------------------------------------
- -- END NC904_UPDATE_DB2.SQL * DO NOT EDIT *
- -------------------------------------------------------------------------------
|