

--
--    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.
--    


-------------------------------------------------------------------------------
--	NC6_UPDATE_ORA.SQL			*	DO NOT EDIT	 *			Data Store Version: 6 		 
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
--$140-- tables drop begin
-------------------------------------------------------------------------------
DROP TABLE NC_SCHEDULE_QUEUE
;

-------------------------------------------------------------------------------
--$200-- recreate tables begin
-------------------------------------------------------------------------------
CREATE TABLE NC_SCHEDULE_QUEUE(
   	SCHEDULE_ID CHAR(32) NOT NULL,
	RUN_DATE NUMBER
)
;

-------------------------------------------------------------------------------
--$201-- indices create begin
-------------------------------------------------------------------------------
CREATE INDEX I1N_SCHEDULE_QUEUE ON NC_SCHEDULE_QUEUE (
   SCHEDULE_ID)
;

-------------------------------------------------------------------------------
--$202-- primary keys add begin
-------------------------------------------------------------------------------
ALTER TABLE NC_SCHEDULE_QUEUE
   ADD CONSTRAINT PN_SCHEDULE_QUEUEI PRIMARY KEY (SCHEDULE_ID)
;

-------------------------------------------------------------------------------
--$220-- server data inserts begin
-------------------------------------------------------------------------------
INSERT INTO NC_DB_VERSION (DB_VERSION_ID,BUILD) VALUES (6,'build no.')
;

-------------------------------------------------------------------------------
--$260-- end sql by function
-------------------------------------------------------------------------------
--	END NC6_UPDATE_ORA.SQL			*	DO NOT EDIT	 * 		 
-------------------------------------------------------------------------------
