Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Whole Word SQL Search Trouble
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Whole Word SQL Search Trouble
Miscellaneous
Thread ID:
00056125
Message ID:
00056125
Views:
101
I'm trying to do an SQL that searches for whole words only, using the '%'...
myfield LIKE "% FORD%" OR
myfield LIKE "% FORD %" OR
myfield LIKE "%FORD "...which correctly gets

FORD MOTORS
DIXON FORD
BIG FORD CO

but also BUFORD TIRES and CITY OF FORDHAM, which I don't want.

Any ideas on how to do this? Or a better technique?
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Next
Reply
Map
View

Click here to load this message in the networking platform