IF OBJECT_ID('EST_PROD_MIX_AGD_BLOQUEIO_IT') IS NULL
begin
CREATE TABLE [dbo].[EST_PROD_MIX_AGD_BLOQUEIO_IT] (
  [CD_CTR] BIGINT NOT NULL , 
  [CD_PROD]  int not NULL , 
 
  CONSTRAINT [PK_EST_PROD_MIX_AGD_BLOQUEIO_IT] PRIMARY KEY CLUSTERED ([CD_CTR],[CD_PROD]),

  CONSTRAINT [FK_EST_PROD_MIX_AGD_BLOQUEIO_IT] FOREIGN KEY ([CD_CTR]) 
  REFERENCES [dbo].[EST_PROD_MIX_AGD_BLOQUEIO] ([CD_CTR]) 
  ON UPDATE NO ACTION
  ON DELETE CASCADE 

)
ON [PRIMARY]
end