I am trying to write an mysql script to see if the first character is a number or not, this is what I go so far
select CASE WHEN user_id REGEXP '[0-9]+' then 1 else 0 end as user_id from table
it returns all my data as 1...the colum is a varchar, I will have user_id like this 1234
or this USER-484
or `ADMIN-464567' IS what I am trying to do possible?