October 14, 2010

MySQL Regexp to match a number from comma separated list of numbers

I have found regexp select statements useful for databases which have fields of comma-separated numbers. If I need to select all rows with a given number in such a comma-separated list, a regular expression using word boundries would work:   […]
MySQL Regexp to match a number from comma separated list of numbers
This website uses cookies to provide necessary website functionality, improve your experience and analyze our traffic. By using our website, you agree to our Privacy Policy and our cookies usage.
READ MORE