Re: IsNumeric() clause in MySQL??
Im not that good at regexp but for some reason the version with :digit: dont work as expected.
select 'i' REGEXP '^[\-\+]?[[:digit:]]*\.?[[:digit:]]*$'; returns 1!
The code with '^(-|\\+){0,1}([0-9]+\\.[0-9]*|[0-9]*\\.[0-9]+|[0-9]+)$' works as expected.
Subject
Written By
Posted
September 10, 2004 12:08PM
September 16, 2004 10:31PM
February 02, 2005 01:37PM
November 24, 2008 04:43PM
Re: IsNumeric() clause in MySQL??
January 07, 2009 05:06AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.