I have a simple SQL query where help me to find it the values have some English letter in text of field.
here the SQL :
select id,field1
from mytable
where mytable like '[A-Z]'
that query work nice in MS-ACCESS database but not work on DB MANAGER on QGIS and postgis query because I think Postgres doesn't recognize the list of alphabet [A-Z].
if I use this :
select id,field1
from mytable
where mytable like '%A%'
or mytable like '%B%'......
then it works but I don't like this method.
In Postgres:
select public.mytable.id,public.mytable.field1
from mytable
where public.mytable.mytable like '[A-Z]'
I try to use :
'*[A-Z]*'
'%[A-Z]%'
but that didn't change anything
mytablebut MySQL is not yours and it is not the same thing (or even related to) PostgreSQL.LIKEdoes not support regular expressions