select * from TableName where ColumnName like '%[%]%' or prof like '%['']%'
Symbol | Meaning |
---|---|
LIKE '5[%]' | 5% |
LIKE '[_]n' | _n |
LIKE '[a-cdf]' | a, b, c, d, or f |
LIKE '[-acdf]' | -, a, c, d, or f |
LIKE '[ [ ]' | [ |
LIKE 'abc[_]d%' | abc_d and abc_de |
LIKE 'abc[def]' | abcd, abce, and abcf |
No comments:
Post a Comment