2012-10-15 58 views

回答

9

最後我得到了解決

select * from table where column1 ~* '[^a-z0-9]' or column2 ~* '[^a-z0-9]' or column3 ~* '[^a-z0-9]' 
+1

這是什麼操作'〜'叫什麼名字? – mantri

+0

@mantri它是正則表達式匹配操作符之一:https://www.postgresql.org/docs/current/static/functions-matching.html#id-1.5.8.12.8.2 –

相關問題