-1
I have the query below that returns me only the numerical values of my string field, I wanted to limit it to two output characters.
QUERY
SELECT NULLIF(regexp_replace(temperature, '\D','','g'), '')::numeric AS "Temperature"
from tbl_temperature_hosts
where temperature like '%Core 0%' limit 1
OUTPUT
6601205698
EXPECTED OUTCOME
66
Perfect, thank you!
– Luis Henrique