12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- --
- -- Licensed Materials - Property of IBM
- --
- -- BI and PM: JSM
- --
- -- (c) Copyright IBM Corp. 2003, 2010.
- --
- -- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- --
- -------------------------------------------------------------------------------
- -- NC303_UPDATE_DB2.SQL *DO NOT EDIT* Data Store Version: 303
- -------------------------------------------------------------------------------
- -------------------------------------------------------------------------------
- --$100-- backup create begin
- -------------------------------------------------------------------------------
- -------------------------------------------------------------------------------
- --$110-- backup inserts begin
- -------------------------------------------------------------------------------
- -------------------------------------------------------------------------------
- --$130-- views drop begin
- -------------------------------------------------------------------------------
- -------------------------------------------------------------------------------
- --$140-- tables drop begin
- -------------------------------------------------------------------------------
- -------------------------------------------------------------------------------
- --$200-- recreate tables begin
- -------------------------------------------------------------------------------
- CREATE TABLE NC_METRICS(
- NAME VARCHAR(255) NOT NULL,
- LASTMOD_TIME NUMERIC(19) WITH DEFAULT 0 NOT NULL ,
- VALUE NUMERIC(19) WITH DEFAULT 0 NOT NULL,
- ACTIVE INTEGER WITH DEFAULT 0 NOT NULL
- );
- -------------------------------------------------------------------------------
- --$202-- primary keys add begin
- -------------------------------------------------------------------------------
- ALTER TABLE NC_METRICS
- ADD CONSTRAINT PN_METRICS PRIMARY KEY (NAME);
- -------------------------------------------------------------------------------
- --$210-- views create begin
- -------------------------------------------------------------------------------
- -------------------------------------------------------------------------------
- --$220-- server data inserts begin
- -------------------------------------------------------------------------------
- INSERT INTO NC_DB_VERSION (DB_VERSION_ID,BUILD) VALUES(303,'build no.');
- -------------------------------------------------------------------------------
- --$230-- restore inserts begin
- -------------------------------------------------------------------------------
- -------------------------------------------------------------------------------
- --$250-- backup drop begin
- -------------------------------------------------------------------------------
- -------------------------------------------------------------------------------
- --$260-- end sql by function
- -------------------------------------------------------------------------------
- -- END NC303_UPDATE_DB2.SQL * DO NOT EDIT *
- -------------------------------------------------------------------------------
|