MySQL Forums
Forum List  »  Microsoft SQL Server

Re: IsNumeric() clause in MySQL??
Posted by: Homam Alsayed
Date: February 02, 2005 01:37PM

The condition:

WHERE IsNumeric(SomeColumn) = 1

is bascially equivalent to:

WHERE CONVERT(SomeColumn, SIGNED INTEGER) IS NOT NULL

The only snag is you can only check for integers.

Options: ReplyQuote


Subject
Written By
Posted
September 10, 2004 12:08PM
September 16, 2004 10:31PM
Re: IsNumeric() clause in MySQL??
February 02, 2005 01:37PM
November 24, 2008 04:43PM
January 07, 2009 11:34AM


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.