I have a query that looks a bit like this:
SELECT * FROM Stuff WHERE name LIKE '[a\]]%'
My goal is to match all names starting with a
or ]
(closed bracket). However, this seems to match everything starting with a]
or \\]
.
Is this possible without OR
, a lot of auto-generated LIKE
s?
LIKE
multiple times i.ename LIKE 'a%' or (name LIKE ']%')