I'm trying to return only those rows which colA and colB do not contain a number or a whitespace
Here is my code so far.
SELECT * FROM table_name WHERE colA REGEXP '[^0-9^\W]' AND colB REGEXP '[^0-9^\W]'
given the dataset
colA colB
---------- ----------
test | testB
33 | text <- this is not returned
blah | 0123A <- this is returned
I am assuming my issue is with my regexp... any help please?