
IF NOT EXISTS (SELECT * FROM SYS.COLUMNS WHERE NAME = 'CD_USU_ALT' 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 CD_USU_ALT INT NULL
END 