I'm trying to find all rows in my table that have Non-ASCII characters (one or more) in a specific column in Snowflake. I've tried to use the query below. Although, it didn't give me the results I was looking for.
SELECT *
FROM table_name
WHERE column_name REGEXP '[^a-zA-Z0-9];
In addition, I have tried this query as well:
SELECT *
FROM tableName
WHERE columnToCheck <> CONVERT(columnToCheck USING ASCII)
This gave me error because I can't use USING
in Snowflake.
Just to elaborate a bit more, I'm looking to find rows with characters like Ã, Ä, Ç, Ô, ÿ, etc. To be clear, these are only examples I'm trying to find all rows where there are one or more cases of non-ASCII characters.