2012-10-15 62 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 –

相关问题