12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- --
- -- 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.
- --
- -------------------------------------------------------------------------------
- -- NC302_UPDATE_ORA.SQL *DO NOT EDIT* Data Store Version: 302
- -------------------------------------------------------------------------------
- -------------------------------------------------------------------------------
- --$100-- backup create begin
- -------------------------------------------------------------------------------
- -------------------------------------------------------------------------------
- --$110-- backup inserts begin
- -------------------------------------------------------------------------------
- -------------------------------------------------------------------------------
- --$130-- views drop begin
- -------------------------------------------------------------------------------
- -------------------------------------------------------------------------------
- --$140-- tables drop begin
- -------------------------------------------------------------------------------
- -------------------------------------------------------------------------------
- --$200-- recreate tables begin
- -------------------------------------------------------------------------------
- -------------------------------------------------------------------------------
- --$202-- primary keys add begin
- -------------------------------------------------------------------------------
- -- alter the colum types actually
- ALTER TABLE NC_JOBQUEUE MODIFY (PK_RUN_ID VARCHAR2(45));
- ALTER TABLE NC_JOBQUEUE MODIFY (SERVICE_NAME VARCHAR2(40));
- ALTER TABLE NC_JOBQUEUE MODIFY (SERVER_GROUP VARCHAR2(40));
- -------------------------------------------------------------------------------
- --$210-- views create begin
- -------------------------------------------------------------------------------
- -------------------------------------------------------------------------------
- --$220-- server data inserts begin
- -------------------------------------------------------------------------------
- INSERT INTO NC_DB_VERSION (DB_VERSION_ID,BUILD) VALUES(302,'build no.');
- -- trim the padded service_name and server_group entries
- UPDATE NC_JOBQUEUE SET SERVICE_NAME=RTRIM(SERVICE_NAME,' ');
- UPDATE NC_JOBQUEUE SET SERVER_GROUP=RTRIM(SERVER_GROUP,' ');
- -------------------------------------------------------------------------------
- --$230-- restore inserts begin
- -------------------------------------------------------------------------------
- -------------------------------------------------------------------------------
- --$250-- backup drop begin
- -------------------------------------------------------------------------------
- -------------------------------------------------------------------------------
- --$260-- end sql by function
- -------------------------------------------------------------------------------
- -- END NC302_UPDATE_ORA.SQL * DO NOT EDIT *
- -------------------------------------------------------------------------------
|