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 ??? 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:]]'; 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
Archived
This topic is now archived and is closed to further replies.