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