The wildcard characters are:
- % : Any string of zero or more characters.
- _ : Any single character.
- [ ] : Any single character within the specified range ([a-f]) or set ([abcdef]).
- [^] : Any single character not within the specified range ([^a-f]) or set ([^abcdef]).
To search for a text value that contains 10-15% you can use:
SELECT c1
FROM mytbl2
WHERE c1 LIKE '%10-15!% off%' ESCAPE '!'
No comments:
Post a Comment