![]() Chapter Contents |
![]() Previous |
![]() Next |
| The SQL Procedure |
| sql-expression <NOT> LIKE sql-expression |
sql-expression is described in sql-expression .
| Details |
| Patterns for Searching |
The following list uses these values:
Smith,
Smooth,
Smothers,
Smart, and
Smuggle.
'Sm%'Smith,
Smooth,
Smothers,
Smart,
Smuggle.'%th'Smith,
Smooth.'S__gg%'Smuggle.'S_o''S_o%'Smooth,
Smothers.'S%th'Smith,
Smooth.'Z'Z only, so it
has no matches here.| Searching for Mixed-Case Strings |
upcase(name) like 'SM%';
Note: When you are using the % character, be aware of the effect of
trailing blanks. You may have to use the TRIM function to remove trailing
blanks in order to match values. ![[cautionend]](../common/images/cautend.gif)
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.