SQL wildcard characters in LIKE
The various types of wildcard characters that can be used within the LIKE clause are as follows:
% -> A substitute for zero or more characters e.g. '%S%'
_ - > A substitute for a single character e.g. 'L_n_on'
[chars] -> Sets and ranges of characters to match e.g. [A-z] or [a,b,c]
[!chars] or [^chars] -> Matches only a character NOT specified within the brackets e.g. [!a,b,c]
Comments
Post a Comment