IF  EXISTS (SELECT * FROM sys.indexes WHERE object_id = OBJECT_ID(N'[dbo].[EST_PROD_TRANSF_EST_WMS_SAI]') AND name = N'IX_EST_PROD_TRANSF_EST_WMS_SAI')
begin
ALTER TABLE [dbo].[EST_PROD_TRANSF_EST_WMS_SAI] DROP CONSTRAINT [IX_EST_PROD_TRANSF_EST_WMS_SAI]
end
ALTER TABLE dbo.EST_PROD_TRANSF_EST_WMS_SAI ADD CONSTRAINT
	IX_EST_PROD_TRANSF_EST_WMS_SAI UNIQUE NONCLUSTERED 
	(
	CD_EMP,
	CD_FILIAL,
	CD_CTR
	) WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
