Double negative like
WHERE SomeCol NOT LIKE '%[^az]%'
Ignoring the first NOT, this means that "matches any character not in the range from a to z".
Then you change the use of the first NOT, which means "does not match any character not in the range from a to z"
Edit after comment
LIKE '%[az]%' means "find any one character between az. Thus, 111s222 matched, for example, because s matches this.
gbn
source share