Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Finda Data in multiple fields

Status
Not open for further replies.

gizmo1973

MIS
Aug 4, 2004
2,828
GB
I have a single table with address details of my clients.
I want to search through three different fileds for the same word at one time, how would I go about this?
i.e. Find Manchester in Field names Address 1, Address 2, ect etc

Regards, Phil

"If in doubt, hit it with an end user!
 
SELECT * FROM TABLE WHERE [ADDRESS 1] LIKE "*MANCHESTER*" OR [ADDRESS 2] LIKE "*MANCHESTER*" OR [ADDRESS 3] LIKE "*MANCHESTER*"

Leslie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top