How can I check if the value of a field is numeric or not in a Firebird database? This seems like an easy problem but I can't find anything in the FreeUDFLib or standard Firebird library. Here's how I would do it in SQL Server.
Select field
from table
where isnumeric(field) = 1
Some research got me to "similar to". This should work, but throws an error:
select field
from table
where field SIMILAR TO '[0-9]+'
{"Dynamic SQL Error" & vbCrLf & "SQL error code = -104" & vbCrLf & "Token unknown - " & vbCrLf & "SIMILAR"}