Is there a way to select only integers of a field in mysql?

Posted by Lye on Stack Overflow See other posts from Stack Overflow or by Lye
Published on 2010-04-16T21:09:17Z Indexed on 2010/04/16 21:13 UTC
Read the original article Hit count: 197

Filed under:

I want to search for numbers, but some of them have - characters or spaces inbetween them, is there a way to do like a

select numbersonly(phone) from table

?

Thanks.

© Stack Overflow or respective owner

Related posts about mysql