I\'m trying to select all rows that contain only alphanumeric characters in MySQL using:
SELECT * FROM table WHERE column REGEXP \'[A-Za-z0-9]\';
Change the REGEXP to Like
REGEXP
Like
SELECT * FROM table_name WHERE column_name like '%[^a-zA-Z0-9]%'
this one works fine