How To Select Only Numeric Values From MySQL

1 |
select field from table where field REGEXP '^-?[0-9]+$'; |
1 |
select field from table where field REGEXP '^-?[0-9]+$'; |
Categories: How-To's, Technology Tags: howto, mysql, Numeric, Regex, select, tips
Copyright © 2005-2025 Eric Michael Stone | Random Thoughts, Whims and Fancies…. Powered by WordPress
Leave Your Comment
All fields marked with "*" are required.