IF NOT EXISTS (SELECT * FROM SYS.OBJECTS WHERE OBJECT_ID = OBJECT_ID(N'[DBO].[CONCILIACAO_CARTOES_CONSULTA_PEND]') AND TYPE IN (N'U'))
BEGIN
CREATE TABLE [DBO].[CONCILIACAO_CARTOES_CONSULTA_PEND] (
	CD_CTR			INT IDENTITY(0,1) NOT NULL,
	STATUS			INT NOT NULL,
	DT_INICIAL		DATE NULL,
	DT_FINAL		DATE NULL,
	DT_CAD_CONSULTA DATETIME CONSTRAINT DF_CONCILIACAO_CARTOES_CONSULTA_PEND_DT_CAD_CONSULTA DEFAULT GETDATE() NULL,
	ST_PROCEDURE	INT CONSTRAINT DF_CONCILIACAO_CARTOES_CONSULTA_PEND_ST_PROCEDURE DEFAULT -1 NULL,
	CONSTRAINT PK_CONCILIACAO_CARTOES_CONSULTA_PEND  PRIMARY KEY (CD_CTR)
)
END
 