Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.
-- delete the contents of table PRE_BO truncate table PRD_BO -- drop the index on table PRE_BO to allow smooth data load USE [demand_plan] GO /****** Object: Index [SALES_ORD_ITEM] Script Date: 09/28/2010 11:00:35 ******/ IF EXISTS (SELECT * FROM sys.indexes WHERE object_id = OBJECT_ID(N'[dbo].[PRD_BO]') AND name = N'SALES_ORD_ITEM') DROP INDEX [SALES_ORD_ITEM] ON [dbo].[PRD_BO] WITH ( ONLINE = OFF ) -- import the data from the PRE backorder file on STLFTP01 into the PRE_BO table on SQL BULK INSERT PRD_BO FROM 'S:\sap_ftp\Daily_BW_Feeds\PRD_ABOUOBO00_20110308.txt' WITH ( FIELDTERMINATOR = '|', ROWTERMINATOR = '\n' ) -- index table PRE_BO for better performance USE [demand_plan] GO /****** Object: Index [item loc] Script Date: 09/27/2010 13:40:48 ******/ CREATE UNIQUE CLUSTERED INDEX [SALES_ORD_ITEM] ON [dbo].[PRD_BO] ( [DOC_NUMBER] ASC, [S_ORD_ITEM] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.