IF OBJECT_ID('EST_ALCADA_CP_PED_CANCEL') IS NULL	
	BEGIN 

		CREATE TABLE [dbo].[EST_ALCADA_CP_PED_CANCEL](
			[CD_CTR] [int] NOT NULL,
			[CD_IT]  [int] NOT NULL,
			[DS_CANCEL] [nvarchar](100) NULL,	
		 CONSTRAINT [PK_EST_ALCADA_CP_PED_CANCEL] PRIMARY KEY CLUSTERED 
		(
			[CD_CTR] ASC
		)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
		) ON [PRIMARY]

		

		ALTER TABLE [dbo].[EST_ALCADA_CP_PED_CANCEL]  WITH CHECK ADD  CONSTRAINT [FK_EST_ALCADA_CP_PED_CANCEL_EST_ALCADA_CP_PED_ALCADAS_CANCEL] FOREIGN KEY([CD_CTR],[CD_IT])
		REFERENCES [dbo].[EST_ALCADA_CP_PED_ALCADAS_CANCEL] ([CD_CTR],[CD_IT])
		ON UPDATE CASCADE
		ON DELETE CASCADE
		

		ALTER TABLE [dbo].[EST_ALCADA_CP_PED_CANCEL] CHECK CONSTRAINT [FK_EST_ALCADA_CP_PED_CANCEL_EST_ALCADA_CP_PED_ALCADAS_CANCEL]
		
	
	END