How to find all rows of a PostgreSQL table containing characters in some Unicode ranges, for example Cyrillic characters?
I thought! For Cyrillic:
SELECT * FROM "items" WHERE (title SIMILAR TO '%[\u0410-\u044f]%')
I got a range from http://symbolcodes.tlt.psu.edu/bylanguage/cyrillicchart.html . Characters have hexadecimal objects А before я which are also my numbers above.
А
я
If you install the pgpcre extension, you can use this expression:
SELECT * FROM items WHERE title ~ pcre '\p{Cyrillic}';
Source: https://habr.com/ru/post/957423/More articles:Providing multiple When statements for SpecFlow script - c #save JPEG in progressive format - c #get html from webpage using IPv6 address and javascript - javascriptEvent handlers in Paper.js - javascriptos x server and remote git repository - githttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/957424/propertygetvaluethis-null-leads-to-object-does-not-match-target-type&usg=ALkJrhia4gkD-6fEA2Dty3_uX3mf8es1HgJetty / Solr Volume Increase - memorySyntaxError: unterminated string literal javascript - javascriptC # typedef generics - genericslinks to sheets by number instead of name in cells - vbaAll Articles