IF OBJECT_ID('EST_PROD_TRANSF_SOLICITACAO_PENDENCIA') IS NULL
BEGIN
CREATE TABLE [dbo].[EST_PROD_TRANSF_SOLICITACAO_PENDENCIA](
	[CD_CTR] [int] NOT NULL,
	[DT_CAD] [datetime] NOT NULL,
 CONSTRAINT [PK_EST_PROD_TRANSF_SOLICITACAO_PENDENCIA] 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_PROD_TRANSF_SOLICITACAO_PENDENCIA] ADD  CONSTRAINT [DF_EST_PROD_TRANSF_SOLICITACAO_PENDENCIA_CD_CTR]  DEFAULT ((0)) FOR [CD_CTR]

ALTER TABLE [dbo].[EST_PROD_TRANSF_SOLICITACAO_PENDENCIA] ADD  CONSTRAINT [DF_EST_PROD_TRANSF_SOLICITACAO_PENDENCIA_DT_CAD]  DEFAULT ((0)) FOR [DT_CAD]
end

