Patterns consist of three classes
of characters:
underscore (_)
matches any single
character.
percent sign (%)
matches any sequence
of zero or more characters.
These patterns can appear before, after, or on both
sides of characters that you want to match. The LIKE condition is
case-sensitive.
The following list uses
these values:
Smith,
Smooth,
Smothers,
Smart,
and
Smuggle.
'Sm%'
matches Smith, Smooth, Smothers, Smart, Smuggle.
'S_o'
matches a three-letter
word, so it has no matches here.
'S_o%'
matches Smooth, Smothers.
'Z'
matches the single,
uppercase character Z only, so it has no
matches here.