Skip to main content

resolvido

SELECT MAX(cast(replace(convert(varchar,ltrim(rtrim(valor))),',','.') as float)) AS Maximo, 
       MIN(cast(replace(convert(varchar,ltrim(rtrim(valor))),',','.') as float)) AS Mínimo 
From [Enops].[dbo].[Tbl_Pulsomedia15_Vazao_Eta_B_Bentes] 
Where valor <> 'processando'  and valor <> 'Perda de Sinal'