IF NOT EXISTS (SELECT * FROM SYS.COLUMNS WHERE NAME = 'DT_CAD' AND OBJECT_ID = OBJECT_ID('EST_NF_ENT_IT_EST_PROD_CPL_LOTE'))
BEGIN
    ALTER TABLE DBO.EST_NF_ENT_IT_EST_PROD_CPL_LOTE ADD DT_CAD DATETIME NULL
END