IsNumeric



Returns true (1) if the given value is a number: digits with an optional leading sign and an optional decimal point. Null and empty values return 0.

Boolean IsNumeric(String value = null)

Boolean results

Boolean functions return 1 for true and 0 for false. In a WHERE clause compare the result to 1 (or true), for example: WHERE IsLike(Text, 'Cat%') = 1


round-pushpin Returns 1, 1 and 0.
SELECT IsNumeric('1.5') as A, IsNumeric('-12') as B, IsNumeric('1.2.3') as C FROM Single




SQL :: Syntax
Basic KBSQL syntax and some examples.
SQL :: ToLower
Returns the value converted to lower case.
SQL :: ToNumeric
Returns the value converted to a number.
SQL :: ToProper
Returns the value with the first letter of each word capitalized (title case).
SQL :: ToString
Returns the number as a string, so that + concatenates it instead of adding it.
SQL :: ToUpper
Returns the value converted to upper case.
SQL :: Trim
Removes white space from the start and end of the value. When characters is given, each of those characters is removed from the start and end instead.