( , ):
select * from Table where LENGTH(trim(stringfield,"0123456789 ")) > 0; select * from table where LENGTH(trim(stringfield,"0123456789 ")) = 0;
The first choice should return only values that are not numeric, while the second should return only values that are numeric.
For a table containing a mixture of numeric and string data, a string is first displayed, then a number.
source
share