
Larry C. answered 05/20/19
Computer Science and Mathematics professional
Something like this would check for an optional leading plus or minus, followed by only digits up until at most one decimal point and then more digits.
CREATE FUNCTION IsNumeric (sIn varchar(1024)) RETURNS tinyint
RETURN sIn REGEXP '^(-|\\+){0,1}([0-9]+\\.[0-9]*|[0-9]*\\.[0-9]+|[0-9]+)$';