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