

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


-------------------------------------------------------------------------------
-- NC834_UPDATE_SYBASE.SQL	       *DO NOT EDIT*		Data Store Version: 834	 
-------------------------------------------------------------------------------

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

-------------------------------------------------------------------------------
--$203-- alter tables begin
-------------------------------------------------------------------------------
ALTER TABLE NC_CONFIGURATION lock datarows
go

ALTER TABLE NC_CTMAP lock datarows
go

ALTER TABLE NC_DB_VERSION lock datarows
go

ALTER TABLE NC_DELIVERYADDRESS lock datarows
go

ALTER TABLE NC_EVENTSTATUS lock datarows
go

ALTER TABLE NC_JMSQUEUE lock datarows
go

ALTER TABLE NC_JOBQUEUE lock datarows
go

ALTER TABLE NC_MESSAGELINE lock datarows
go

ALTER TABLE NC_MESSAGELINE_ELEMENT lock datarows
go

ALTER TABLE NC_MESSAGESTRUCT lock datarows
go

ALTER TABLE NC_METRICS lock datarows
go

ALTER TABLE NC_OBJECTCATALOGUE lock datarows
go

ALTER TABLE NC_OBJECTID lock datarows
go

ALTER TABLE NC_PERMISSION lock datarows
go

ALTER TABLE NC_RECIPIENT lock datarows
go

ALTER TABLE NC_SCHEDULE lock datarows
go

ALTER TABLE NC_SCHEDULE_QUEUE lock datarows
go

ALTER TABLE NC_SDS_INSTANCE lock datarows
go

ALTER TABLE NC_TASK lock datarows
go


ALTER TABLE NC_TASKSCHEDULE lock datarows
go

ALTER TABLE NC_SCHEDULED_EVENT_OVERRIDE lock datarows
go

ALTER TABLE NC_TASK_ANCESTOR_STOREIDS lock datarows
go

ALTER TABLE NC_TASK_HISTORY_DETAIL lock datarows
go

ALTER TABLE NC_TASK_PROPERTY lock datarows
go

ALTER TABLE NC_TASK_QUEUE lock datarows
go

ALTER TABLE NC_TSE_STATE_MAP lock datarows
go

-------------------------------------------------------------------------------
--$210-- views create begin
-------------------------------------------------------------------------------

-------------------------------------------------------------------------------
--$220-- server data inserts begin
-------------------------------------------------------------------------------

INSERT INTO NC_DB_VERSION (DB_VERSION_ID,BUILD) VALUES(834,'build no.')
go

 -------------------------------------------------------------------------------
 --$230-- restore inserts begin
 -------------------------------------------------------------------------------

 -------------------------------------------------------------------------------
 --$250-- backup drop begin
 -------------------------------------------------------------------------------

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