2
I need to make a query in a table of emails, and I need to return only emails that have special characters.
Can you help me with the script, I tried to use this code:
Select * from tabela Where Coluna LIKE '%[^A-Za-z0-9, ]%'
but without success.
Inform the DBMS, some syntheses change.
– Motta
If your database is Mysql,
SELECT * FROM tabela WHERE coluna REGEXP '[^A-Za-z0-9, ]'
. It is worth remembering that, possibly, the query will bring all the emails that also possess the@
.– Weslley Araújo