Query to return a wildcard search on a field

Gkirkup

Registered User.
Local time
Today, 07:45
Joined
Mar 6, 2007
Messages
628
How do I design a query to return a result in a wildcard format? So that I could enter a part of a name, and it returns all the names that include that part of name?

Robert
 
surround the wildcard with square brackets e.g.

myfield like "*
[*]*"

will return any records where myfield has a * in it

myfield = "xyz
[*]"

will return any record record where myfield=xyz*
 

Users who are viewing this thread

Back
Top Bottom