IF NOT EXISTS (SELECT * FROM SYS.COLUMNS WHERE NAME = 'ANO_MES' AND OBJECT_ID = OBJECT_ID('EST_PROD_CPL_VD_LOTE_PROC_PENDENTE'))
begin
ALTER TABLE dbo.EST_PROD_CPL_VD_LOTE_PROC_PENDENTE ADD
	ANO_MES int NULL
end