TheHeretic Posted October 2, 2007 Share Posted October 2, 2007 Not sure how to construct this, will basically have a column with values such as "300","Somtimes,"700", "whatever" Need to somehow select only those rows where the first character in the row is numeric ??? Quote Link to comment https://forums.phpfreaks.com/topic/71467-selecting-rows-where-first-character-in-a-field-is-numeric/ Share on other sites More sharing options...
clearstatcache Posted October 2, 2007 Share Posted October 2, 2007 try using regexp.... select * from table_name where table_column regexp '^[[:digit:]]'; Quote Link to comment https://forums.phpfreaks.com/topic/71467-selecting-rows-where-first-character-in-a-field-is-numeric/#findComment-359784 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.