IF NOT EXISTS (SELECT 1 FROM SYS.COLUMNS WHERE OBJECT_ID = OBJECT_ID(N'DBO.EST_PROD_PRECO_PMPF_CPL') AND NAME = 'UF')
BEGIN
	ALTER TABLE DBO.EST_PROD_PRECO_PMPF_CPL ADD UF VARCHAR(2) NOT NULL DEFAULT '';
END

IF NOT EXISTS (SELECT 1 FROM SYS.COLUMNS WHERE OBJECT_ID = OBJECT_ID(N'DBO.EST_PROD_PRECO_PMPF_CPL') AND NAME = 'DT_ULT_ALT')
BEGIN
	ALTER TABLE DBO.EST_PROD_PRECO_PMPF_CPL ADD DT_ULT_ALT datetime NULL;
END

IF NOT EXISTS (SELECT 1 FROM SYS.COLUMNS WHERE OBJECT_ID = OBJECT_ID(N'DBO.EST_PROD_PRECO_PMPF_CPL') AND NAME = 'CD_USU_ALT')
BEGIN
	ALTER TABLE DBO.EST_PROD_PRECO_PMPF_CPL ADD CD_USU_ALT int NULL;
END

IF NOT EXISTS (SELECT 1 FROM SYS.COLUMNS WHERE OBJECT_ID = OBJECT_ID(N'DBO.EST_PROD_PRECO_PMPF_CPL') AND NAME = 'VLR_PMPF_ANT')
BEGIN
	ALTER TABLE DBO.EST_PROD_PRECO_PMPF_CPL ADD VLR_PMPF_ANT MONEY NULL;
END