
/****** Object:  Index [PK_EST_PROD_TRANSF_LACRE_IT_CHECKIN_ENTRADA]    Script Date: 10/31/2013 14:48:43 ******/
IF  EXISTS (SELECT * FROM sys.indexes WHERE object_id = OBJECT_ID(N'[dbo].[EST_PROD_TRANSF_LACRE_IT_CHECKIN_ENTRADA]') AND name = N'PK_EST_PROD_TRANSF_LACRE_IT_CHECKIN_ENTRADA')
ALTER TABLE [dbo].[EST_PROD_TRANSF_LACRE_IT_CHECKIN_ENTRADA] DROP CONSTRAINT [PK_EST_PROD_TRANSF_LACRE_IT_CHECKIN_ENTRADA]
GO

ALTER TABLE EST_PROD_TRANSF_LACRE_IT_CHECKIN_ENTRADA ALTER COLUMN CD_LACRE INT NOT NULL
GO

/****** Object:  Index [PK_EST_PROD_TRANSF_LACRE_IT_CHECKIN_ENTRADA]    Script Date: 10/31/2013 14:48:46 ******/
ALTER TABLE [dbo].[EST_PROD_TRANSF_LACRE_IT_CHECKIN_ENTRADA] ADD  CONSTRAINT [PK_EST_PROD_TRANSF_LACRE_IT_CHECKIN_ENTRADA] PRIMARY KEY CLUSTERED 
(
	[CD_EMP] 	ASC,
	[CD_FILIAL] ASC,
	[CD_CTR] 	ASC,
	[CD_LACRE] 	ASC,
	[NR_VOLUME]	ASC, 
	[CD_PROD]	ASC	
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
GO


