PostGresql Casting Inteiro para cordas
SELECT * FROM table WHERE cast(YOUR_INTEGER_VALUE as varchar) = 'string of numbers'
Restu Wahyu Saputra
SELECT * FROM table WHERE cast(YOUR_INTEGER_VALUE as varchar) = 'string of numbers'
SELECT * FROM table WHERE YOUR_INTEGER_VALUE::varchar = 'string';
# or
SELECT * FROM table WHERE cast(YOUR_INTEGER_VALUE as varchar) = 'string';